sigs.k8s.io/kueue@v0.6.2/config/default/kustomization.yaml (about)

     1  # Adds namespace to all resources.
     2  namespace: kueue-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: kueue-
    10  
    11  # Labels to add to all resources and selectors.
    12  #commonLabels:
    13  #  someName: someValue
    14  
    15  resources:
    16  - ../components/crd
    17  - ../components/rbac
    18  - ../components/manager
    19  - ../components/internalcert
    20  # [WEBHOOK] To enable webhook, uncomment all the sections with [WEBHOOK] prefix including the one in
    21  # ../components/crd/kustomization.yaml
    22  - ../components/webhook
    23  # [CERTMANAGER] To enable cert-manager, uncomment all sections with 'CERTMANAGER'. 'WEBHOOK' components are required.
    24  # - ../components/certmanager
    25  # [PROMETHEUS] To enable prometheus monitor, uncomment all sections with 'PROMETHEUS'.
    26  #- ../components/prometheus
    27  
    28  patches:
    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  - path: manager_auth_proxy_patch.yaml
    33  
    34  # Mount the controller config file for loading manager configurations
    35  # through a ComponentConfig type
    36  - path: 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  - path: manager_webhook_patch.yaml
    41  
    42  # Expose port used by the visibility server
    43  - path: manager_visibility_patch.yaml
    44  
    45  transformers:
    46  # Sets the namespace for the role binding as kube-system instead of default kueue-system
    47  - role_binding_visibility_transformer.yaml
    48  
    49  
    50  # [CERTMANAGER] To enable cert-manager, uncomment all sections with 'CERTMANAGER'.
    51  # Uncomment 'CERTMANAGER' sections in crd/kustomization.yaml to enable the CA injection in the admission webhooks.
    52  # 'CERTMANAGER' needs to be enabled to use ca injection
    53  # - path: webhookcainjection_patch.yaml
    54  
    55  # the following config is for teaching kustomize how to do var substitution
    56  # vars:
    57  # [CERTMANAGER] To enable cert-manager, uncomment all sections with 'CERTMANAGER' prefix.
    58  # - name: CERTIFICATE_NAMESPACE # namespace of the certificate CR
    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  #   fieldref:
    65  #     fieldpath: metadata.namespace
    66  # - name: CERTIFICATE_NAME
    67  #   objref:
    68  #     kind: Certificate
    69  #     group: cert-manager.io
    70  #     version: v1
    71  #     name: serving-cert # this name should match the one in certificate.yaml
    72  # - name: SERVICE_NAMESPACE # namespace of the service
    73  #   objref:
    74  #     kind: Service
    75  #     version: v1
    76  #     name: webhook-service
    77  #   fieldref:
    78  #     fieldpath: metadata.namespace
    79  # - name: SERVICE_NAME
    80  #   objref:
    81  #     kind: Service
    82  #     version: v1
    83  #     name: webhook-service