github.com/IBM-Blockchain/fabric-operator@v1.0.4/config/default/kustomization.yaml (about)

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