@@ -16,10 +16,6 @@ namePrefix: srlinux-controller-
1616# commonLabels:
1717# someName: someValue
1818
19- bases :
20- - ../crd
21- - ../rbac
22- - ../manager
2319# [WEBHOOK] To enable webhook, uncomment all the sections with [WEBHOOK] prefix including the one in
2420# crd/kustomization.yaml
2521# - ../webhook
@@ -28,11 +24,9 @@ bases:
2824# [PROMETHEUS] To enable prometheus monitor, uncomment all sections with 'PROMETHEUS'.
2925# - ../prometheus
3026
31- patchesStrategicMerge :
32- # Protect the /metrics endpoint by putting it behind auth.
33- # If you want your controller-manager to expose the /metrics
34- # endpoint w/o any authn/z, please comment the following line.
35- - manager_auth_proxy_patch.yaml
27+ # Protect the /metrics endpoint by putting it behind auth.
28+ # If you want your controller-manager to expose the /metrics
29+ # endpoint w/o any authn/z, please comment the following line.
3630
3731# [WEBHOOK] To enable webhook, uncomment all the sections with [WEBHOOK] prefix including the one in
3832# crd/kustomization.yaml
@@ -44,31 +38,11 @@ patchesStrategicMerge:
4438# - webhookcainjection_patch.yaml
4539
4640# the following config is for teaching kustomize how to do var substitution
47- vars :
48- # [CERTMANAGER] To enable cert-manager, uncomment all sections with 'CERTMANAGER' prefix.
49- # - name: CERTIFICATE_NAMESPACE # namespace of the certificate CR
50- # objref:
51- # kind: Certificate
52- # group: cert-manager.io
53- # version: v1
54- # name: serving-cert # this name should match the one in certificate.yaml
55- # fieldref:
56- # fieldpath: metadata.namespace
57- # - name: CERTIFICATE_NAME
58- # objref:
59- # kind: Certificate
60- # group: cert-manager.io
61- # version: v1
62- # name: serving-cert # this name should match the one in certificate.yaml
63- # - name: SERVICE_NAMESPACE # namespace of the service
64- # objref:
65- # kind: Service
66- # version: v1
67- # name: webhook-service
68- # fieldref:
69- # fieldpath: metadata.namespace
70- # - name: SERVICE_NAME
71- # objref:
72- # kind: Service
73- # version: v1
74- # name: webhook-service
41+ apiVersion : kustomize.config.k8s.io/v1beta1
42+ kind : Kustomization
43+ resources :
44+ - ../crd
45+ - ../rbac
46+ - ../manager
47+ patches :
48+ - path : manager_auth_proxy_patch.yaml
0 commit comments