Skip to content

Commit

Permalink
Merge pull request #268 from rakeshgm/add-labels-4.16
Browse files Browse the repository at this point in the history
Bug 2280342: add resources to transformer config
  • Loading branch information
ShyamsundarR committed May 15, 2024
2 parents 83aad0c + 360d0ec commit 375df57
Show file tree
Hide file tree
Showing 7 changed files with 22 additions and 1 deletion.
2 changes: 2 additions & 0 deletions config/dr-cluster/default/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,8 @@ transformers:
path: metadata/labels
- kind: Service
path: spec/selector
- kind: ConfigMap
path: metadata/labels
# [WEBHOOK] To enable webhook, uncomment all the sections with [WEBHOOK] prefix including the one in
# crd/kustomization.yaml
Expand Down
1 change: 1 addition & 0 deletions config/dr-cluster/manifests/idr/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ configMapGenerator:
disableNameSuffixHash: true
labels:
config.openshift.io/inject-trusted-cabundle: "true"
app: ramen-dr-cluster

patchesStrategicMerge:
- manager_openshift_trusted_cabundle.yaml
Expand Down
1 change: 1 addition & 0 deletions config/dr-cluster/manifests/odr/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ configMapGenerator:
disableNameSuffixHash: true
labels:
config.openshift.io/inject-trusted-cabundle: "true"
app: ramen-dr-cluster

patchesStrategicMerge:
- manager_openshift_trusted_cabundle.yaml
Expand Down
9 changes: 8 additions & 1 deletion config/hub/default/k8s/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,14 @@ transformers:
path: metadata/labels
- kind: Service
path: spec/selector
- kind: ServiceMonitor
path: metadata/labels
- kind: ServiceMonitor
path: spec/selector/matchLabels
- kind: ConfigMap
path: metadata/labels
- kind: PrometheusRule
path: metadata/labels
# Mount the controller config file for loading manager configurations
# through a ComponentConfig type
Expand Down
8 changes: 8 additions & 0 deletions config/hub/default/ocp/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,14 @@ transformers:
path: metadata/labels
- kind: Service
path: spec/selector
- kind: ServiceMonitor
path: metadata/labels
- kind: ServiceMonitor
path: spec/selector/matchLabels
- kind: ConfigMap
path: metadata/labels
- kind: PrometheusRule
path: metadata/labels
# [PROMETHEUS] To enable prometheus monitor, uncomment all sections with 'PROMETHEUS'.
#-../prometheus
Expand Down
1 change: 1 addition & 0 deletions config/hub/manifests/idr/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ configMapGenerator:
disableNameSuffixHash: true
labels:
config.openshift.io/inject-trusted-cabundle: "true"
app: ramen-hub

patchesStrategicMerge:
- manager_openshift_trusted_cabundle.yaml
Expand Down
1 change: 1 addition & 0 deletions config/hub/manifests/odr/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ configMapGenerator:
disableNameSuffixHash: true
labels:
config.openshift.io/inject-trusted-cabundle: "true"
app: ramen-hub

patchesStrategicMerge:
- manager_openshift_trusted_cabundle.yaml
Expand Down

0 comments on commit 375df57

Please sign in to comment.