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

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