File tree Expand file tree Collapse file tree 9 files changed +41
-23
lines changed
webhosting-operator/config
monitoring/webhosting-operator Expand file tree Collapse file tree 9 files changed +41
-23
lines changed Original file line number Diff line number Diff line change @@ -3,8 +3,10 @@ kind: Component
33
44namespace : sharding-system
55
6- commonLabels :
7- app.kubernetes.io/name : controller-sharding
6+ labels :
7+ - includeSelectors : true
8+ pairs :
9+ app.kubernetes.io/name : controller-sharding
810
911resources :
1012- certificate.yaml
Original file line number Diff line number Diff line change 11apiVersion : kustomize.config.k8s.io/v1beta1
22kind : Kustomization
33
4- commonLabels :
5- app.kubernetes.io/name : controller-sharding
4+ labels :
5+ - includeSelectors : true
6+ pairs :
7+ app.kubernetes.io/name : controller-sharding
68
79resources :
810- namespace.yaml
Original file line number Diff line number Diff line change @@ -6,8 +6,10 @@ namespace: sharding-system
66generatorOptions :
77 disableNameSuffixHash : true
88
9- commonLabels :
10- app.kubernetes.io/name : controller-sharding
9+ labels :
10+ - includeSelectors : true
11+ pairs :
12+ app.kubernetes.io/name : controller-sharding
1113
1214images :
1315- name : sharder
Original file line number Diff line number Diff line change 22apiVersion : kustomize.config.k8s.io/v1beta1
33kind : Kustomization
44
5- commonLabels :
6- app.kubernetes.io/name : prometheus-operator
7- app.kubernetes.io/part-of : kube-prometheus
8- app.kubernetes.io/version : 0.76.2
5+ labels :
6+ - includeSelectors : true
7+ pairs :
8+ app.kubernetes.io/name : prometheus-operator
9+ app.kubernetes.io/part-of : kube-prometheus
10+ app.kubernetes.io/version : 0.76.2
911
1012resources :
1113- 0alertmanagerConfigCustomResourceDefinition.yaml
Original file line number Diff line number Diff line change @@ -40,10 +40,12 @@ cat <<EOF > kustomization.yaml
4040apiVersion: kustomize.config.k8s.io/v1beta1
4141kind: Kustomization
4242
43- commonLabels:
44- app.kubernetes.io/name: prometheus-operator
45- app.kubernetes.io/part-of: kube-prometheus
46- app.kubernetes.io/version: $prometheus_operator_version
43+ labels:
44+ - includeSelectors: true
45+ pairs:
46+ app.kubernetes.io/name: prometheus-operator
47+ app.kubernetes.io/part-of: kube-prometheus
48+ app.kubernetes.io/version: $prometheus_operator_version
4749
4850resources:
4951$( ls * .yaml | sed ' s/^/- /' )
Original file line number Diff line number Diff line change @@ -3,9 +3,11 @@ kind: Kustomization
33
44namespace : default
55
6- commonLabels :
7- app.kubernetes.io/name : controller-sharding
8- app.kubernetes.io/component : shard
6+ labels :
7+ - includeSelectors : true
8+ pairs :
9+ app.kubernetes.io/name : controller-sharding
10+ app.kubernetes.io/component : shard
911
1012images :
1113- name : shard
Original file line number Diff line number Diff line change @@ -3,8 +3,10 @@ kind: Kustomization
33
44namespace : experiment
55
6- commonLabels :
7- app.kubernetes.io/name : experiment
6+ labels :
7+ - includeSelectors : true
8+ pairs :
9+ app.kubernetes.io/name : experiment
810
911images :
1012- name : experiment
Original file line number Diff line number Diff line change @@ -12,8 +12,10 @@ namespace: webhosting-system
1212namePrefix : webhosting-
1313
1414# Labels to add to all resources and selectors.
15- commonLabels :
16- app.kubernetes.io/name : webhosting-operator
15+ labels :
16+ - includeSelectors : true
17+ pairs :
18+ app.kubernetes.io/name : webhosting-operator
1719
1820images :
1921- name : controller
Original file line number Diff line number Diff line change @@ -3,8 +3,10 @@ kind: Kustomization
33
44namespace : webhosting-system
55
6- commonLabels :
7- app.kubernetes.io/name : webhosting-operator
6+ labels :
7+ - includeSelectors : true
8+ pairs :
9+ app.kubernetes.io/name : webhosting-operator
810
911resources :
1012# provide prometheus running in namespace "monitoring" with the permissions required for service discovery in namespace
You can’t perform that action at this time.
0 commit comments