11# Adds namespace to all resources.
2- namespace : amazon-network-policy-controller-k8s -system
2+ namespace : kube -system
33
44# Value of this field is prepended to the
55# names of all resources, e.g. a deployment named
66# "wordpress" becomes "alices-wordpress".
77# Note that it should also match with the prefix (text before '-') of the namespace
88# field above.
9- namePrefix : amazon-network-policy-controller-k8s-
9+ namePrefix : amazon-network-policy-
1010
1111# Labels to add to all resources and selectors.
12- # labels:
13- # - includeSelectors: true
14- # pairs:
15- # someName: someValue
12+ # Labels to add to all resources and selectors.
13+ commonLabels :
14+ app.kubernetes.io/name : amazon-network-policy-controller-k8s
1615
1716resources :
1817- ../crd
1918- ../rbac
20- - ../manager
19+ - ../controller
2120# [WEBHOOK] To enable webhook, uncomment all the sections with [WEBHOOK] prefix including the one in
2221# crd/kustomization.yaml
2322# - ../webhook
24- # [CERTMANAGER] To enable cert-manager , uncomment all sections with 'CERTMANAGER'. 'WEBHOOK' components are required.
23+ # [CERTMANAGER] To enable cert-controller , uncomment all sections with 'CERTMANAGER'. 'WEBHOOK' components are required.
2524# - ../certmanager
2625# [PROMETHEUS] To enable prometheus monitor, uncomment all sections with 'PROMETHEUS'.
2726# - ../prometheus
2827
2928patchesStrategicMerge :
3029# Protect the /metrics endpoint by putting it behind auth.
31- # If you want your controller-manager to expose the /metrics
30+ # If you want your controller-controller to expose the /metrics
3231# endpoint w/o any authn/z, please comment the following line.
33- - manager_auth_proxy_patch.yaml
32+ # - manager_auth_proxy_patch.yaml
3433
3534
3635
3736# [WEBHOOK] To enable webhook, uncomment all the sections with [WEBHOOK] prefix including the one in
3837# crd/kustomization.yaml
3938# - manager_webhook_patch.yaml
4039
41- # [CERTMANAGER] To enable cert-manager , uncomment all sections with 'CERTMANAGER'.
40+ # [CERTMANAGER] To enable cert-controller , uncomment all sections with 'CERTMANAGER'.
4241# Uncomment 'CERTMANAGER' sections in crd/kustomization.yaml to enable the CA injection in the admission webhooks.
4342# 'CERTMANAGER' needs to be enabled to use ca injection
4443# - webhookcainjection_patch.yaml
4544
46- # [CERTMANAGER] To enable cert-manager , uncomment all sections with 'CERTMANAGER' prefix.
47- # Uncomment the following replacements to add the cert-manager CA injection annotations
45+ # [CERTMANAGER] To enable cert-controller , uncomment all sections with 'CERTMANAGER' prefix.
46+ # Uncomment the following replacements to add the cert-controller CA injection annotations
4847# replacements:
49- # - source: # Add cert-manager annotation to ValidatingWebhookConfiguration, MutatingWebhookConfiguration and CRDs
48+ # - source: # Add cert-controller annotation to ValidatingWebhookConfiguration, MutatingWebhookConfiguration and CRDs
5049# kind: Certificate
51- # group: cert-manager .io
50+ # group: cert-controller .io
5251# version: v1
5352# name: serving-cert # this name should match the one in certificate.yaml
5453# fieldPath: .metadata.namespace # namespace of the certificate CR
5554# targets:
5655# - select:
5756# kind: ValidatingWebhookConfiguration
5857# fieldPaths:
59- # - .metadata.annotations.[cert-manager .io/inject-ca-from]
58+ # - .metadata.annotations.[cert-controller .io/inject-ca-from]
6059# options:
6160# delimiter: '/'
6261# index: 0
6362# create: true
6463# - select:
6564# kind: MutatingWebhookConfiguration
6665# fieldPaths:
67- # - .metadata.annotations.[cert-manager .io/inject-ca-from]
66+ # - .metadata.annotations.[cert-controller .io/inject-ca-from]
6867# options:
6968# delimiter: '/'
7069# index: 0
7170# create: true
7271# - select:
7372# kind: CustomResourceDefinition
7473# fieldPaths:
75- # - .metadata.annotations.[cert-manager .io/inject-ca-from]
74+ # - .metadata.annotations.[cert-controller .io/inject-ca-from]
7675# options:
7776# delimiter: '/'
7877# index: 0
7978# create: true
8079# - source:
8180# kind: Certificate
82- # group: cert-manager .io
81+ # group: cert-controller .io
8382# version: v1
8483# name: serving-cert # this name should match the one in certificate.yaml
8584# fieldPath: .metadata.name
8685# targets:
8786# - select:
8887# kind: ValidatingWebhookConfiguration
8988# fieldPaths:
90- # - .metadata.annotations.[cert-manager .io/inject-ca-from]
89+ # - .metadata.annotations.[cert-controller .io/inject-ca-from]
9190# options:
9291# delimiter: '/'
9392# index: 1
9493# create: true
9594# - select:
9695# kind: MutatingWebhookConfiguration
9796# fieldPaths:
98- # - .metadata.annotations.[cert-manager .io/inject-ca-from]
97+ # - .metadata.annotations.[cert-controller .io/inject-ca-from]
9998# options:
10099# delimiter: '/'
101100# index: 1
102101# create: true
103102# - select:
104103# kind: CustomResourceDefinition
105104# fieldPaths:
106- # - .metadata.annotations.[cert-manager .io/inject-ca-from]
105+ # - .metadata.annotations.[cert-controller .io/inject-ca-from]
107106# options:
108107# delimiter: '/'
109108# index: 1
110109# create: true
111- # - source: # Add cert-manager annotation to the webhook Service
110+ # - source: # Add cert-controller annotation to the webhook Service
112111# kind: Service
113112# version: v1
114113# name: webhook-service
115114# fieldPath: .metadata.name # namespace of the service
116115# targets:
117116# - select:
118117# kind: Certificate
119- # group: cert-manager .io
118+ # group: cert-controller .io
120119# version: v1
121120# fieldPaths:
122121# - .spec.dnsNames.0
@@ -133,7 +132,7 @@ patchesStrategicMerge:
133132# targets:
134133# - select:
135134# kind: Certificate
136- # group: cert-manager .io
135+ # group: cert-controller .io
137136# version: v1
138137# fieldPaths:
139138# - .spec.dnsNames.0
0 commit comments