stack/kustomizations/digitalocean/kustomization.yaml

34 lines
713 B
YAML
Raw Normal View History

2023-05-11 00:11:30 +00:00
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
namespace: kube-system
resources:
2023-05-11 00:11:30 +00:00
- cloud-controller-manager
- csi-driver
- csi-driver/webhook
2023-05-11 00:11:30 +00:00
generators:
- secret-generator.yaml
replacements:
- source:
kind: Certificate
fieldPath: metadata.namespace
targets:
- select:
kind: ValidatingWebhookConfiguration
fieldPaths:
- metadata.annotations.[cert-manager.io/inject-ca-from]
options:
delimiter: /
- source:
kind: Service
fieldPath: metadata.namespace
name: snapshot-validation-service
targets:
- select:
kind: Certificate
name: snapshot-validation
fieldPaths:
- spec.dnsNames.1
options:
delimiter: .
index: 1