Skip to content

Commit e832072

Browse files
committed
Fix config formatting
1 parent b96f452 commit e832072

File tree

1 file changed

+30
-30
lines changed

1 file changed

+30
-30
lines changed

config/default/kustomization.yaml

+30-30
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,9 @@ namePrefix: capi-
1515
# someName: someValue
1616

1717
resources:
18-
- ../crd
19-
- ../rbac
20-
- ../manager
18+
- ../crd
19+
- ../rbac
20+
- ../manager
2121
# [WEBHOOK] To enable webhook, uncomment all the sections with [WEBHOOK] prefix including the one in crd/kustomization.yaml
2222
- ../webhook
2323
# [CERTMANAGER] To enable cert-manager, uncomment all sections with 'CERTMANAGER'. 'WEBHOOK' components are required.
@@ -50,30 +50,30 @@ patchesStrategicMerge:
5050

5151
# the following config is for teaching kustomize how to do var substitution
5252
vars:
53-
# [CERTMANAGER] To enable cert-manager, uncomment all sections with 'CERTMANAGER' prefix.
54-
- name: CERTIFICATE_NAMESPACE # namespace of the certificate CR
55-
objref:
56-
kind: Certificate
57-
group: cert-manager.io
58-
version: v1alpha2
59-
name: serving-cert # this name should match the one in certificate.yaml
60-
fieldref:
61-
fieldpath: metadata.namespace
62-
- name: CERTIFICATE_NAME
63-
objref:
64-
kind: Certificate
65-
group: cert-manager.io
66-
version: v1alpha2
67-
name: serving-cert # this name should match the one in certificate.yaml
68-
- name: SERVICE_NAMESPACE # namespace of the service
69-
objref:
70-
kind: Service
71-
version: v1
72-
name: webhook-service
73-
fieldref:
74-
fieldpath: metadata.namespace
75-
- name: SERVICE_NAME
76-
objref:
77-
kind: Service
78-
version: v1
79-
name: webhook-service
53+
# [CERTMANAGER] To enable cert-manager, uncomment all sections with 'CERTMANAGER' prefix.
54+
- name: CERTIFICATE_NAMESPACE # namespace of the certificate CR
55+
objref:
56+
kind: Certificate
57+
group: cert-manager.io
58+
version: v1alpha2
59+
name: serving-cert # this name should match the one in certificate.yaml
60+
fieldref:
61+
fieldpath: metadata.namespace
62+
- name: CERTIFICATE_NAME
63+
objref:
64+
kind: Certificate
65+
group: cert-manager.io
66+
version: v1alpha2
67+
name: serving-cert # this name should match the one in certificate.yaml
68+
- name: SERVICE_NAMESPACE # namespace of the service
69+
objref:
70+
kind: Service
71+
version: v1
72+
name: webhook-service
73+
fieldref:
74+
fieldpath: metadata.namespace
75+
- name: SERVICE_NAME
76+
objref:
77+
kind: Service
78+
version: v1
79+
name: webhook-service

0 commit comments

Comments
 (0)