2020-07-26 21:47:24 +00:00
|
|
|
# Adds namespace to all resources.
|
|
|
|
namespace: seaweedfs-operator-system
|
|
|
|
|
|
|
|
# Value of this field is prepended to the
|
|
|
|
# names of all resources, e.g. a deployment named
|
|
|
|
# "wordpress" becomes "alices-wordpress".
|
|
|
|
# Note that it should also match with the prefix (text before '-') of the namespace
|
|
|
|
# field above.
|
|
|
|
namePrefix: seaweedfs-operator-
|
|
|
|
|
|
|
|
# Labels to add to all resources and selectors.
|
|
|
|
#commonLabels:
|
|
|
|
# someName: someValue
|
|
|
|
|
|
|
|
bases:
|
|
|
|
- ../crd
|
|
|
|
- ../rbac
|
|
|
|
- ../manager
|
2022-03-20 07:06:33 +00:00
|
|
|
- ../webhook
|
|
|
|
- ../certmanager
|
|
|
|
- ../prometheus
|
2020-07-26 21:47:24 +00:00
|
|
|
|
|
|
|
patchesStrategicMerge:
|
|
|
|
# Protect the /metrics endpoint by putting it behind auth.
|
|
|
|
# If you want your controller-manager to expose the /metrics
|
|
|
|
# endpoint w/o any authn/z, please comment the following line.
|
|
|
|
- manager_auth_proxy_patch.yaml
|
2022-03-20 07:06:33 +00:00
|
|
|
- manager_webhook_patch.yaml
|
|
|
|
- webhookcainjection_patch.yaml
|
2020-07-26 21:47:24 +00:00
|
|
|
|
|
|
|
vars:
|
2022-03-20 07:06:33 +00:00
|
|
|
- name: CERTIFICATE_NAMESPACE # namespace of the certificate CR
|
|
|
|
objref:
|
|
|
|
kind: Certificate
|
|
|
|
group: cert-manager.io
|
|
|
|
version: v1alpha2
|
|
|
|
name: serving-cert # this name should match the one in certificate.yaml
|
|
|
|
fieldref:
|
|
|
|
fieldpath: metadata.namespace
|
|
|
|
- name: CERTIFICATE_NAME
|
|
|
|
objref:
|
|
|
|
kind: Certificate
|
|
|
|
group: cert-manager.io
|
|
|
|
version: v1alpha2
|
|
|
|
name: serving-cert # this name should match the one in certificate.yaml
|
|
|
|
- name: SERVICE_NAMESPACE # namespace of the service
|
|
|
|
objref:
|
|
|
|
kind: Service
|
|
|
|
version: v1
|
|
|
|
name: webhook-service
|
|
|
|
fieldref:
|
|
|
|
fieldpath: metadata.namespace
|
|
|
|
- name: SERVICE_NAME
|
|
|
|
objref:
|
|
|
|
kind: Service
|
|
|
|
version: v1
|
|
|
|
name: webhook-service
|