github.com/openshift/dpu-operator@v0.0.0-20240502153209-3af840d137c2/config/default/kustomization.yaml (about) 1 # Adds namespace to all resources. 2 namespace: dpu-operator-system 3 4 # Value of this field is prepended to the 5 # names of all resources, e.g. a deployment named 6 # "wordpress" becomes "alices-wordpress". 7 # Note that it should also match with the prefix (text before '-') of the namespace 8 # field above. 9 namePrefix: dpu-operator- 10 11 # Labels to add to all resources and selectors. 12 #labels: 13 #- includeSelectors: true 14 # pairs: 15 # someName: someValue 16 17 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 29 patchesStrategicMerge: 30 # Protect the /metrics endpoint by putting it behind auth. 31 # If you want your controller-manager to expose the /metrics 32 # endpoint w/o any authn/z, please comment the following line. 33 - manager_auth_proxy_patch.yaml 34 35 36 37 # [WEBHOOK] To enable webhook, uncomment all the sections with [WEBHOOK] prefix including the one in 38 # crd/kustomization.yaml 39 #- manager_webhook_patch.yaml 40 41 # [CERTMANAGER] To enable cert-manager, uncomment all sections with 'CERTMANAGER'. 42 # Uncomment 'CERTMANAGER' sections in crd/kustomization.yaml to enable the CA injection in the admission webhooks. 43 # 'CERTMANAGER' needs to be enabled to use ca injection 44 #- webhookcainjection_patch.yaml 45 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 48 #replacements: 49 # - source: # Add cert-manager annotation to ValidatingWebhookConfiguration, MutatingWebhookConfiguration and CRDs 50 # kind: Certificate 51 # group: cert-manager.io 52 # version: v1 53 # name: serving-cert # this name should match the one in certificate.yaml 54 # fieldPath: .metadata.namespace # namespace of the certificate CR 55 # targets: 56 # - select: 57 # kind: ValidatingWebhookConfiguration 58 # fieldPaths: 59 # - .metadata.annotations.[cert-manager.io/inject-ca-from] 60 # options: 61 # delimiter: '/' 62 # index: 0 63 # create: true 64 # - select: 65 # kind: MutatingWebhookConfiguration 66 # fieldPaths: 67 # - .metadata.annotations.[cert-manager.io/inject-ca-from] 68 # options: 69 # delimiter: '/' 70 # index: 0 71 # create: true 72 # - select: 73 # kind: CustomResourceDefinition 74 # fieldPaths: 75 # - .metadata.annotations.[cert-manager.io/inject-ca-from] 76 # options: 77 # delimiter: '/' 78 # index: 0 79 # create: true 80 # - source: 81 # kind: Certificate 82 # group: cert-manager.io 83 # version: v1 84 # name: serving-cert # this name should match the one in certificate.yaml 85 # fieldPath: .metadata.name 86 # targets: 87 # - select: 88 # kind: ValidatingWebhookConfiguration 89 # fieldPaths: 90 # - .metadata.annotations.[cert-manager.io/inject-ca-from] 91 # options: 92 # delimiter: '/' 93 # index: 1 94 # create: true 95 # - select: 96 # kind: MutatingWebhookConfiguration 97 # fieldPaths: 98 # - .metadata.annotations.[cert-manager.io/inject-ca-from] 99 # options: 100 # delimiter: '/' 101 # index: 1 102 # create: true 103 # - select: 104 # kind: CustomResourceDefinition 105 # fieldPaths: 106 # - .metadata.annotations.[cert-manager.io/inject-ca-from] 107 # options: 108 # delimiter: '/' 109 # index: 1 110 # create: true 111 # - source: # Add cert-manager annotation to the webhook Service 112 # kind: Service 113 # version: v1 114 # name: webhook-service 115 # fieldPath: .metadata.name # namespace of the service 116 # targets: 117 # - select: 118 # kind: Certificate 119 # group: cert-manager.io 120 # version: v1 121 # fieldPaths: 122 # - .spec.dnsNames.0 123 # - .spec.dnsNames.1 124 # options: 125 # delimiter: '.' 126 # index: 0 127 # create: true 128 # - source: 129 # kind: Service 130 # version: v1 131 # name: webhook-service 132 # fieldPath: .metadata.namespace # namespace of the service 133 # targets: 134 # - select: 135 # kind: Certificate 136 # group: cert-manager.io 137 # version: v1 138 # fieldPaths: 139 # - .spec.dnsNames.0 140 # - .spec.dnsNames.1 141 # options: 142 # delimiter: '.' 143 # index: 1 144 # create: true