sigs.k8s.io/cluster-api/bootstrap/kubeadm@v0.0.0-20191016155141-23a891785b60/config-capi/default/kustomization.yaml (about)

     1  # Adds namespace to all resources.
     2  namespace: cluster-api-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: cluster-api-
    10  
    11  bases:
    12  - ../crd
    13  - ../rbac
    14  - ../manager
    15  # [WEBHOOK] To enable webhook, uncomment all the sections with [WEBHOOK] prefix including the one in crd/kustomization.yaml
    16  #- ../webhook
    17  # [CERTMANAGER] To enable cert-manager, uncomment all sections with 'CERTMANAGER'. 'WEBHOOK' components are required.
    18  #- ../certmanager
    19  
    20  patchesStrategicMerge:
    21  - manager_image_patch.yaml
    22  - manager_label_patch.yaml
    23  
    24  # [WEBHOOK] To enable webhook, uncomment all the sections with [WEBHOOK] prefix including the one in crd/kustomization.yaml
    25  #- manager_webhook_patch.yaml
    26  
    27  # [CERTMANAGER] To enable cert-manager, uncomment all sections with 'CERTMANAGER'.
    28  # Uncomment 'CERTMANAGER' sections in crd/kustomization.yaml to enable the CA injection in the admission webhooks.
    29  # 'CERTMANAGER' needs to be enabled to use ca injection
    30  #- webhookcainjection_patch.yaml
    31  
    32  # the following config is for teaching kustomize how to do var substitution
    33  # vars:
    34  # [CERTMANAGER] To enable cert-manager, uncomment all sections with 'CERTMANAGER' prefix.
    35  #- name: CERTIFICATE_NAMESPACE # namespace of the certificate CR
    36  #  objref:
    37  #    kind: Certificate
    38  #    group: certmanager.k8s.io
    39  #    version: v1alpha1
    40  #    name: serving-cert # this name should match the one in certificate.yaml
    41  #  fieldref:
    42  #    fieldpath: metadata.namespace
    43  #- name: CERTIFICATE_NAME
    44  #  objref:
    45  #    kind: Certificate
    46  #    group: certmanager.k8s.io
    47  #    version: v1alpha1
    48  #    name: serving-cert # this name should match the one in certificate.yaml
    49  #- name: SERVICE_NAMESPACE # namespace of the service
    50  #  objref:
    51  #    kind: Service
    52  #    version: v1
    53  #    name: webhook-service
    54  #  fieldref:
    55  #    fieldpath: metadata.namespace
    56  #- name: SERVICE_NAME
    57  #  objref:
    58  #    kind: Service
    59  #    version: v1
    60  #    name: webhook-service