|
1 | 1 | # Adds namespace to all resources. |
2 | | -namespace: saas-operatorsystem |
| 2 | +namespace: saas-operator-system |
3 | 3 |
|
4 | 4 | # Value of this field is prepended to the |
5 | 5 | # names of all resources, e.g. a deployment named |
6 | 6 | # "wordpress" becomes "alices-wordpress". |
7 | 7 | # Note that it should also match with the prefix (text before '-') of the namespace |
8 | 8 | # field above. |
9 | | -namePrefix: saas-operator |
| 9 | +namePrefix: saas-operator- |
10 | 10 |
|
11 | 11 | # Labels to add to all resources and selectors. |
12 | 12 | #labels: |
@@ -37,12 +37,34 @@ resources: |
37 | 37 | patches: |
38 | 38 | # [METRICS] The following patch will enable the metrics endpoint using HTTPS and the port :8443. |
39 | 39 | # More info: https://book.kubebuilder.io/reference/metrics |
40 | | -- path: manager_metrics_patch.yaml |
41 | | - target: |
42 | | - kind: Deployment |
| 40 | +# - path: manager_metrics_patch.yaml |
| 41 | +# target: |
| 42 | +# kind: Deployment |
43 | 43 |
|
44 | | -# [CUSTOM] Custom changes specific to saas-operator |
| 44 | +# [CUSTOM] Modify manager settings |
45 | 45 | - path: custom/manager_patch.yaml |
| 46 | + target: |
| 47 | + kind: Deployment |
| 48 | + name: controller-manager |
| 49 | +- path: custom/metrics_service_patch.yaml |
| 50 | + target: |
| 51 | + group: "" |
| 52 | + kind: Service |
| 53 | + name: controller-manager-metrics-service |
| 54 | + version: v1 |
| 55 | +# [CUSTOM] Use ClusterRole and ClusterRoleBinding |
| 56 | +- path: custom/clusterrole_patch.yaml |
| 57 | + target: |
| 58 | + group: rbac.authorization.k8s.io |
| 59 | + kind: Role |
| 60 | + name: manager-role |
| 61 | + version: v1 |
| 62 | +- path: custom/clusterrolebinding_patch.yaml |
| 63 | + target: |
| 64 | + group: rbac.authorization.k8s.io |
| 65 | + kind: RoleBinding |
| 66 | + name: manager-rolebinding |
| 67 | + version: v1 |
46 | 68 |
|
47 | 69 | # Uncomment the patches line if you enable Metrics and CertManager |
48 | 70 | # [METRICS-WITH-CERTS] To enable metrics protected with certManager, uncomment the following line. |
|
0 commit comments