github.com/kyma-project/kyma/components/asset-store-controller-manager@v0.0.0-20191203152857-3792b5df17c5/config/default/kustomization.yaml (about)

     1  # Adds namespace to all resources.
     2  namespace: asset-store-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: asset-store-
    10  
    11  # Labels to add to all resources and selectors.
    12  #commonLabels:
    13  #  someName: someValue
    14  
    15  bases:
    16  - ../crd
    17  - ../rbac
    18  - ../manager
    19  # [WEBHOOK] To enable webhook, uncomment all the sections with [WEBHOOK] prefix including the one in crd/kustomization.yaml
    20  #- ../webhook
    21  # [CERTMANAGER] To enable cert-manager, uncomment all sections with 'CERTMANAGER'. 'WEBHOOK' components are required.
    22  #- ../certmanager
    23  
    24  patchesStrategicMerge:
    25    # Protect the /metrics endpoint by putting it behind auth.
    26    # Only one of manager_auth_proxy_patch.yaml and
    27    # manager_prometheus_metrics_patch.yaml should be enabled.
    28  #- manager_auth_proxy_patch.yaml
    29    # If you want your controller-manager to expose the /metrics
    30    # endpoint w/o any authn/z, uncomment the following line and
    31    # comment manager_auth_proxy_patch.yaml.
    32    # Only one of manager_auth_proxy_patch.yaml and
    33    # manager_prometheus_metrics_patch.yaml should be enabled.
    34  - manager_prometheus_metrics_patch.yaml
    35  
    36  # [WEBHOOK] To enable webhook, uncomment all the sections with [WEBHOOK] prefix including the one in crd/kustomization.yaml
    37  #- manager_webhook_patch.yaml
    38  
    39  # [CERTMANAGER] To enable cert-manager, uncomment all sections with 'CERTMANAGER'.
    40  # Uncomment 'CERTMANAGER' sections in crd/kustomization.yaml to enable the CA injection in the admission webhooks.
    41  # 'CERTMANAGER' needs to be enabled to use ca injection
    42  #- webhookcainjection_patch.yaml
    43  
    44  # the following config is for teaching kustomize how to do var substitution
    45  vars:
    46  # [CERTMANAGER] To enable cert-manager, uncomment all sections with 'CERTMANAGER' prefix.
    47  #- name: CERTIFICATE_NAMESPACE # namespace of the certificate CR
    48  #  objref:
    49  #    kind: Certificate
    50  #    group: certmanager.k8s.io
    51  #    version: v1alpha1
    52  #    name: serving-cert # this name should match the one in certificate.yaml
    53  #  fieldref:
    54  #    fieldpath: metadata.namespace
    55  #- name: CERTIFICATE_NAME
    56  #  objref:
    57  #    kind: Certificate
    58  #    group: certmanager.k8s.io
    59  #    version: v1alpha1
    60  #    name: serving-cert # this name should match the one in certificate.yaml
    61  #- name: SERVICE_NAMESPACE # namespace of the service
    62  #  objref:
    63  #    kind: Service
    64  #    version: v1
    65  #    name: webhook-service
    66  #  fieldref:
    67  #    fieldpath: metadata.namespace
    68  #- name: SERVICE_NAME
    69  #  objref:
    70  #    kind: Service
    71  #    version: v1
    72  #    name: webhook-service