Skip to content

Instantly share code, notes, and snippets.

@warroyo
Created November 15, 2021 22:05
Show Gist options
  • Select an option

  • Save warroyo/f887b021edb100df3e4b484820bfae53 to your computer and use it in GitHub Desktop.

Select an option

Save warroyo/f887b021edb100df3e4b484820bfae53 to your computer and use it in GitHub Desktop.
update harbor cert issuer
#@ load("@ytt:overlay", "overlay")
#@ load("/values.star", "values")
#@ harbor_tls_cert = overlay.subset({"kind": "Certificate", "metadata": {"name": "harbor-tls-cert"}})
#@overlay/match by=harbor_tls_cert
---
spec:
issuerRef:
name: #@ values.customIssuer
kind: ClusterIssuer
group: cert-manager.io
---
customIssuer: <custom issuer name>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment