kube-cascade/wildcard-tls/ns-copy-secret-template.yaml

16 lines
375 B
YAML
Raw Normal View History

---
kind: Template
apiVersion: templating.flanksource.com/v1
metadata:
name: copy-wildcard-tls
spec:
source:
apiVersion: v1
kind: Secret
fieldSelector: "metadata.name==wildcard-tls,metadata.namespace==wildcard-tls"
copyToNamespaces:
# selects on the Namespace label
namespaceSelector:
matchLabels:
wildcard-tls.kn8v.com/copy: "true"