Fix customization rule priority
Fleet only applies customizations to the first matching. This update gives priority to making nginx providers work before applying servicemonitors. Enabling servicemonitors depends on prometheus already being enabled and setup for it and it's very low priority. Signed-off-by: scottwilliams <scottwilliams@ucsb.edu>
This commit is contained in:
parent
0bd66e2935
commit
1f20b244c3
1 changed files with 19 additions and 19 deletions
|
@ -11,24 +11,6 @@ helm:
|
|||
crds:
|
||||
enabled: true
|
||||
targetCustomizations:
|
||||
- name: prod
|
||||
helm:
|
||||
values:
|
||||
prometheus:
|
||||
servicemonitor:
|
||||
enabled: true
|
||||
clusterSelector:
|
||||
matchLabels:
|
||||
env: prod
|
||||
- name: rancher
|
||||
helm:
|
||||
values:
|
||||
prometheus:
|
||||
servicemonitor:
|
||||
enabled: true
|
||||
clusterSelector:
|
||||
matchLabels:
|
||||
env: rancher
|
||||
- name: gke
|
||||
helm:
|
||||
values:
|
||||
|
@ -52,3 +34,21 @@ targetCustomizations:
|
|||
clusterSelector:
|
||||
matchLabels:
|
||||
provider.cattle.io: rke2
|
||||
- name: rancher
|
||||
helm:
|
||||
values:
|
||||
prometheus:
|
||||
servicemonitor:
|
||||
enabled: true
|
||||
clusterSelector:
|
||||
matchLabels:
|
||||
env: rancher
|
||||
- name: prod
|
||||
helm:
|
||||
values:
|
||||
prometheus:
|
||||
servicemonitor:
|
||||
enabled: true
|
||||
clusterSelector:
|
||||
matchLabels:
|
||||
env: prod
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue