github.com/redhat-appstudio/release-service@v0.0.0-20240507045911-a8558ef3422a/config/default/kustomization.yaml (about)

     1  # Adds namespace to all resources.
     2  namespace: release-service-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: release-service-
    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
    20  # crd/kustomization.yaml
    21  - ../webhook
    22  # [CERTMANAGER] To enable cert-manager, uncomment all sections with 'CERTMANAGER'. 'WEBHOOK' components are required.
    23  #- ../certmanager
    24  # [GRAFANA] When deploying through infra-deployments, grafana is included directly by the monitoring component
    25  #- ../grafana
    26  - ../prometheus
    27  
    28  patchesStrategicMerge:
    29  # Protect the /metrics endpoint by putting it behind auth.
    30  # If you want your controller-manager to expose the /metrics
    31  # endpoint w/o any authn/z, please comment the following line.
    32  - manager_auth_proxy_patch.yaml
    33  
    34  # Mount the controller config file for loading manager configurations
    35  # through a ComponentConfig type
    36  #- manager_config_patch.yaml
    37  
    38  # [WEBHOOK] To enable webhook, uncomment all the sections with [WEBHOOK] prefix including the one in
    39  # crd/kustomization.yaml
    40  - manager_webhook_patch.yaml
    41  
    42  # [CERTMANAGER] To enable cert-manager, uncomment all sections with 'CERTMANAGER'.
    43  # Uncomment 'CERTMANAGER' sections in crd/kustomization.yaml to enable the CA injection in the admission webhooks.
    44  # 'CERTMANAGER' needs to be enabled to use ca injection
    45  - webhookcainjection_patch.yaml
    46  
    47  # the following config is for teaching kustomize how to do var substitution
    48  vars:
    49  # [CERTMANAGER] To enable cert-manager, uncomment all sections with 'CERTMANAGER' prefix.
    50  #- name: CERTIFICATE_NAMESPACE # namespace of the certificate CR
    51  #  objref:
    52  #    kind: Certificate
    53  #    group: cert-manager.io
    54  #    version: v1
    55  #    name: serving-cert # this name should match the one in certificate.yaml
    56  #  fieldref:
    57  #    fieldpath: metadata.namespace
    58  #- name: CERTIFICATE_NAME
    59  #  objref:
    60  #    kind: Certificate
    61  #    group: cert-manager.io
    62  #    version: v1
    63  #    name: serving-cert # this name should match the one in certificate.yaml
    64  #- name: SERVICE_NAMESPACE # namespace of the service
    65  #  objref:
    66  #    kind: Service
    67  #    version: v1
    68  #    name: webhook-service
    69  #  fieldref:
    70  #    fieldpath: metadata.namespace
    71  #- name: SERVICE_NAME
    72  #  objref:
    73  #    kind: Service
    74  #    version: v1
    75  #    name: webhook-service