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

     1  namespace: capi-system
     2  
     3  namePrefix: capi-
     4  
     5  commonLabels:
     6    cluster.x-k8s.io/provider: "cluster-api"
     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  # Ease the process of providing extra RBAC to the Cluster API manager for
    27  # non SIG Cluster Lifecycle-sponsored provider subprojects by using an
    28  # aggregated role
    29  - manager_role_aggregation_patch.yaml
    30  
    31  vars:
    32    - name: CERTIFICATE_NAMESPACE # namespace of the certificate CR
    33      objref:
    34        kind: Certificate
    35        group: cert-manager.io
    36        version: v1
    37        name: serving-cert # this name should match the one in certificate.yaml
    38      fieldref:
    39        fieldpath: metadata.namespace
    40    - name: CERTIFICATE_NAME
    41      objref:
    42        kind: Certificate
    43        group: cert-manager.io
    44        version: v1
    45        name: serving-cert # this name should match the one in certificate.yaml
    46    - name: SERVICE_NAMESPACE # namespace of the service
    47      objref:
    48        kind: Service
    49        version: v1
    50        name: webhook-service
    51      fieldref:
    52        fieldpath: metadata.namespace
    53    - name: SERVICE_NAME
    54      objref:
    55        kind: Service
    56        version: v1
    57        name: webhook-service
    58  
    59  configurations:
    60    - kustomizeconfig.yaml