|
1 | 1 | # Adds namespace to all resources.
|
2 | 2 | namespace: dexop-system
|
3 |
| - |
4 | 3 | # Value of this field is prepended to the
|
5 | 4 | # names of all resources, e.g. a deployment named
|
6 | 5 | # "wordpress" becomes "alices-wordpress".
|
7 | 6 | # Note that it should also match with the prefix (text before '-') of the namespace
|
8 | 7 | # field above.
|
9 | 8 | namePrefix: dexop-
|
10 |
| - |
11 | 9 | # Labels to add to all resources and selectors.
|
12 |
| -#labels: |
13 |
| -#- includeSelectors: true |
| 10 | +# labels: |
| 11 | +# includeSelectors: true |
14 | 12 | # pairs:
|
15 | 13 | # someName: someValue
|
16 |
| - |
17 | 14 | resources:
|
18 |
| -- ../crd |
19 |
| -- ../rbac |
20 |
| -- ../manager |
21 |
| -# [WEBHOOK] To enable webhook, uncomment all the sections with [WEBHOOK] prefix including the one in |
22 |
| -# crd/kustomization.yaml |
23 |
| -#- ../webhook |
24 |
| -# [CERTMANAGER] To enable cert-manager, uncomment all sections with 'CERTMANAGER'. 'WEBHOOK' components are required. |
25 |
| -#- ../certmanager |
26 |
| -# [PROMETHEUS] To enable prometheus monitor, uncomment all sections with 'PROMETHEUS'. |
27 |
| -#- ../prometheus |
28 |
| -# [METRICS] Expose the controller manager metrics service. |
29 |
| -- metrics_service.yaml |
30 |
| -# [NETWORK POLICY] Protect the /metrics endpoint and Webhook Server with NetworkPolicy. |
31 |
| -# Only Pod(s) running a namespace labeled with 'metrics: enabled' will be able to gather the metrics. |
32 |
| -# Only CR(s) which requires webhooks and are applied on namespaces labeled with 'webhooks: enabled' will |
33 |
| -# be able to communicate with the Webhook Server. |
34 |
| -#- ../network-policy |
35 |
| - |
| 15 | + - ../crd |
| 16 | + - ../rbac |
| 17 | + - ../manager |
| 18 | + # [WEBHOOK] To enable webhook, uncomment all the sections with [WEBHOOK] prefix including the one in |
| 19 | + # crd/kustomization.yaml |
| 20 | + # ../webhook |
| 21 | + # [CERTMANAGER] To enable cert-manager, uncomment all sections with 'CERTMANAGER'. 'WEBHOOK' components are required. |
| 22 | + # ../certmanager |
| 23 | + # [PROMETHEUS] To enable prometheus monitor, uncomment all sections with 'PROMETHEUS'. |
| 24 | + # ../prometheus |
| 25 | + # [METRICS] Expose the controller manager metrics service. |
| 26 | + - metrics_service.yaml |
| 27 | + # [NETWORK POLICY] Protect the /metrics endpoint and Webhook Server with NetworkPolicy. |
| 28 | + # Only Pod(s) running a namespace labeled with 'metrics: enabled' will be able to gather the metrics. |
| 29 | + # Only CR(s) which requires webhooks and are applied on namespaces labeled with 'webhooks: enabled' will |
| 30 | + # be able to communicate with the Webhook Server. |
| 31 | + # ../network-policy |
36 | 32 | # Uncomment the patches line if you enable Metrics, and/or are using webhooks and cert-manager
|
37 | 33 | patches:
|
38 |
| -# [METRICS] The following patch will enable the metrics endpoint using HTTPS and the port :8443. |
39 |
| -# More info: https://book.kubebuilder.io/reference/metrics |
40 |
| -- path: manager_metrics_patch.yaml |
41 |
| - target: |
42 |
| - kind: Deployment |
| 34 | + # [METRICS] The following patch will enable the metrics endpoint using HTTPS and the port :8443. |
| 35 | + # More info: https://book.kubebuilder.io/reference/metrics |
| 36 | + - path: manager_metrics_patch.yaml |
| 37 | + target: |
| 38 | + kind: Deployment |
43 | 39 |
|
44 | 40 | # [WEBHOOK] To enable webhook, uncomment all the sections with [WEBHOOK] prefix including the one in
|
45 | 41 | # crd/kustomization.yaml
|
46 |
| -#- path: manager_webhook_patch.yaml |
| 42 | +# path: manager_webhook_patch.yaml |
47 | 43 |
|
48 | 44 | # [CERTMANAGER] To enable cert-manager, uncomment all sections with 'CERTMANAGER'.
|
49 | 45 | # Uncomment 'CERTMANAGER' sections in crd/kustomization.yaml to enable the CA injection in the admission webhooks.
|
50 | 46 | # 'CERTMANAGER' needs to be enabled to use ca injection
|
51 |
| -#- path: webhookcainjection_patch.yaml |
| 47 | +# path: webhookcainjection_patch.yaml |
52 | 48 |
|
53 | 49 | # [CERTMANAGER] To enable cert-manager, uncomment all sections with 'CERTMANAGER' prefix.
|
54 | 50 | # Uncomment the following replacements to add the cert-manager CA injection annotations
|
55 |
| -#replacements: |
| 51 | +# eplacements: |
56 | 52 | # - source: # Add cert-manager annotation to ValidatingWebhookConfiguration, MutatingWebhookConfiguration and CRDs
|
57 | 53 | # kind: Certificate
|
58 | 54 | # group: cert-manager.io
|
|
0 commit comments