sigs.k8s.io/cluster-api@v1.7.1/bootstrap/kubeadm/config/default/kustomization.yaml (about)

     1  # Adds namespace to all resources.
     2  namespace: capi-kubeadm-bootstrap-system
     3  
     4  namePrefix: capi-kubeadm-bootstrap-
     5  
     6  commonLabels:
     7    cluster.x-k8s.io/provider: "bootstrap-kubeadm"
     8  
     9  resources:
    10  - namespace.yaml
    11  
    12  bases:
    13  - ../crd
    14  - ../rbac
    15  - ../manager
    16  - ../webhook
    17  - ../certmanager
    18  
    19  patchesStrategicMerge:
    20    # Provide customizable hook for make targets.
    21    - manager_image_patch.yaml
    22    - manager_pull_policy.yaml
    23    # Enable webhook.
    24    - manager_webhook_patch.yaml
    25    # Inject certificate in the webhook definition.
    26    - webhookcainjection_patch.yaml
    27  
    28  vars:
    29    - name: CERTIFICATE_NAMESPACE # namespace of the certificate CR
    30      objref:
    31        kind: Certificate
    32        group: cert-manager.io
    33        version: v1
    34        name: serving-cert # this name should match the one in certificate.yaml
    35      fieldref:
    36        fieldpath: metadata.namespace
    37    - name: CERTIFICATE_NAME
    38      objref:
    39        kind: Certificate
    40        group: cert-manager.io
    41        version: v1
    42        name: serving-cert # this name should match the one in certificate.yaml
    43    - name: SERVICE_NAMESPACE # namespace of the service
    44      objref:
    45        kind: Service
    46        version: v1
    47        name: webhook-service
    48      fieldref:
    49        fieldpath: metadata.namespace
    50    - name: SERVICE_NAME
    51      objref:
    52        kind: Service
    53        version: v1
    54        name: webhook-service
    55  
    56  configurations:
    57    - kustomizeconfig.yaml