kustomization.yaml 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172
  1. # Adds namespace to all resources.
  2. namespace: cronjob-system
  3. # Value of this field is prepended to the
  4. # names of all resources, e.g. a deployment named
  5. # "wordpress" becomes "alices-wordpress".
  6. # Note that it should also match with the prefix (text before '-') of the namespace
  7. # field above.
  8. namePrefix: cronjob-
  9. # Labels to add to all resources and selectors.
  10. #commonLabels:
  11. # someName: someValue
  12. bases:
  13. - ../crd
  14. - ../rbac
  15. - ../manager
  16. # [WEBHOOK] To enable webhook, uncomment all the sections with [WEBHOOK] prefix including the one in
  17. # crd/kustomization.yaml
  18. #- ../webhook
  19. # [CERTMANAGER] To enable cert-manager, uncomment all sections with 'CERTMANAGER'. 'WEBHOOK' components are required.
  20. #- ../certmanager
  21. # [PROMETHEUS] To enable prometheus monitor, uncomment all sections with 'PROMETHEUS'.
  22. #- ../prometheus
  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. # [WEBHOOK] To enable webhook, uncomment all the sections with [WEBHOOK] prefix including the one in
  29. # crd/kustomization.yaml
  30. #- manager_webhook_patch.yaml
  31. # [CERTMANAGER] To enable cert-manager, uncomment all sections with 'CERTMANAGER'.
  32. # Uncomment 'CERTMANAGER' sections in crd/kustomization.yaml to enable the CA injection in the admission webhooks.
  33. # 'CERTMANAGER' needs to be enabled to use ca injection
  34. #- webhookcainjection_patch.yaml
  35. # the following config is for teaching kustomize how to do var substitution
  36. vars:
  37. # [CERTMANAGER] To enable cert-manager, uncomment all sections with 'CERTMANAGER' prefix.
  38. #- name: CERTIFICATE_NAMESPACE # namespace of the certificate CR
  39. # objref:
  40. # kind: Certificate
  41. # group: cert-manager.io
  42. # version: v1
  43. # name: serving-cert # this name should match the one in certificate.yaml
  44. # fieldref:
  45. # fieldpath: metadata.namespace
  46. #- name: CERTIFICATE_NAME
  47. # objref:
  48. # kind: Certificate
  49. # group: cert-manager.io
  50. # version: v1
  51. # name: serving-cert # this name should match the one in certificate.yaml
  52. #- name: SERVICE_NAMESPACE # namespace of the service
  53. # objref:
  54. # kind: Service
  55. # version: v1
  56. # name: webhook-service
  57. # fieldref:
  58. # fieldpath: metadata.namespace
  59. #- name: SERVICE_NAME
  60. # objref:
  61. # kind: Service
  62. # version: v1
  63. # name: webhook-service