Skip to content

Commit

Permalink
Rollout operator psp (grafana#3686)
Browse files Browse the repository at this point in the history
* make rollout-operator able to use psp

* add new role-binding to generated templates

* add changelog entry

* add generated golden records
  • Loading branch information
breadly7 authored and mason committed Dec 16, 2022
1 parent e9251a0 commit a2bf340
Show file tree
Hide file tree
Showing 11 changed files with 23 additions and 0 deletions.
1 change: 1 addition & 0 deletions operations/helm/charts/mimir-distributed/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ Entries should include a reference to the Pull Request that introduced the chang

* [ENHANCEMENT] Update the `rollout-operator` subchart to `0.2.0`. #3624
* [ENHANCEMENT] Add ability to manage PrometheusRule for metamonitoring with Prometheus operator from the Helm chart. The alerts are disabled by default but can be enabled with `prometheusRule.mimirAlerts` set to `true`. To enable the default rules, set `mimirRules` to `true`. #2134 #2609
* [BUGFIX] Enable `rollout-operator` to use PodSecurityPolicies if necessary

## 4.0.0

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,8 @@ roleRef:
subjects:
- kind: ServiceAccount
name: {{ template "mimir.serviceAccountName" . }}
{{- if .Values.rollout_operator.enabled }}
- kind: ServiceAccount
name: {{ include "rollout-operator.serviceAccountName" . }}
{{- end }}
{{- end }}
Original file line number Diff line number Diff line change
Expand Up @@ -16,3 +16,5 @@ roleRef:
subjects:
- kind: ServiceAccount
name: gateway-enterprise-values-mimir
- kind: ServiceAccount
name: gateway-enterprise-values-mimir-distributed
Original file line number Diff line number Diff line change
Expand Up @@ -16,3 +16,5 @@ roleRef:
subjects:
- kind: ServiceAccount
name: gateway-nginx-values-mimir
- kind: ServiceAccount
name: gateway-nginx-values-mimir-distributed
Original file line number Diff line number Diff line change
Expand Up @@ -16,3 +16,5 @@ roleRef:
subjects:
- kind: ServiceAccount
name: large-values-mimir
- kind: ServiceAccount
name: large-values-mimir-distributed
Original file line number Diff line number Diff line change
Expand Up @@ -16,3 +16,5 @@ roleRef:
subjects:
- kind: ServiceAccount
name: scheduler-name-values-mimir
- kind: ServiceAccount
name: scheduler-name-values-mimir-distributed
Original file line number Diff line number Diff line change
Expand Up @@ -16,3 +16,5 @@ roleRef:
subjects:
- kind: ServiceAccount
name: small-values-mimir
- kind: ServiceAccount
name: small-values-mimir-distributed
Original file line number Diff line number Diff line change
Expand Up @@ -16,3 +16,5 @@ roleRef:
subjects:
- kind: ServiceAccount
name: test-enterprise-legacy-label-values-enterprise-metrics
- kind: ServiceAccount
name: test-enterprise-legacy-label-values-mimir-distributed
Original file line number Diff line number Diff line change
Expand Up @@ -16,3 +16,5 @@ roleRef:
subjects:
- kind: ServiceAccount
name: test-enterprise-values-mimir
- kind: ServiceAccount
name: test-enterprise-values-mimir-distributed
Original file line number Diff line number Diff line change
Expand Up @@ -16,3 +16,5 @@ roleRef:
subjects:
- kind: ServiceAccount
name: test-oss-logical-multizone-values-mimir
- kind: ServiceAccount
name: test-oss-logical-multizone-values-mimir-distributed
Original file line number Diff line number Diff line change
Expand Up @@ -16,3 +16,5 @@ roleRef:
subjects:
- kind: ServiceAccount
name: test-oss-multizone-values-mimir
- kind: ServiceAccount
name: test-oss-multizone-values-mimir-distributed

0 comments on commit a2bf340

Please sign in to comment.