Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions deploy-templates/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,7 @@ and `config/grafana/dashboards/`). See the repository root `README.md` for the f
| dashboards.folders.operational | string | `"Operational"` | |
| dashboards.label | string | `"grafana_dashboard"` | |
| dashboards.labelValue | string | `"1"` | |
| eso.apiVersion | string | `"external-secrets.io/v1"` | API version for the SecretStore/ExternalSecret resources. Match the CRD version served by the ESO controller in the target cluster (`external-secrets.io/v1` for ESO >= 0.10, or `external-secrets.io/v1beta1` for older installs). |
| eso.aws | object | `{"region":"eu-central-1","roleArn":"arn:aws:iam::012345678910:role/AWSIRSA_Shared_ExternalSecretOperatorAccess"}` | AWS configuration (if provider is `aws`). |
| eso.aws.region | string | `"eu-central-1"` | AWS region. |
| eso.aws.roleArn | string | `"arn:aws:iam::012345678910:role/AWSIRSA_Shared_ExternalSecretOperatorAccess"` | AWS role ARN for the ExternalSecretOperator to assume. |
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ Grafana consumes `username`/`password` (admin.existingSecret) and `clientSecret`
--from-literal=clientSecret=<oauth-client-secret>
*/ -}}
{{- if .Values.eso.enabled }}
apiVersion: external-secrets.io/v1
apiVersion: {{ .Values.eso.apiVersion }}
kind: ExternalSecret
metadata:
name: grafana-sso
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{{- if and .Values.eso.enabled (eq .Values.eso.provider "aws") }}
apiVersion: external-secrets.io/v1
apiVersion: {{ .Values.eso.apiVersion }}
kind: SecretStore
metadata:
name: {{ .Release.Name }}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{{- if and .Values.eso.enabled (eq .Values.eso.provider "generic") }}
apiVersion: external-secrets.io/v1
apiVersion: {{ .Values.eso.apiVersion }}
kind: SecretStore
metadata:
name: {{ .Release.Name }}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{{- if and .Values.eso.enabled (eq .Values.eso.provider "vault") }}
apiVersion: external-secrets.io/v1
apiVersion: {{ .Values.eso.apiVersion }}
kind: SecretStore
metadata:
name: {{ .Release.Name }}
Expand Down
4 changes: 4 additions & 0 deletions deploy-templates/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -398,6 +398,10 @@ grafana:
eso:
# -- Render the SecretStore/ExternalSecret resources.
enabled: false
# -- API version for the SecretStore/ExternalSecret resources. Match the CRD
# version served by the ESO controller in the target cluster (`external-secrets.io/v1`
# for ESO >= 0.10, or `external-secrets.io/v1beta1` for older installs).
apiVersion: "external-secrets.io/v1"
# -- Defines provider type. One of `aws`, `generic`, or `vault`.
provider: "generic"
# -- Defines the path to the secret in the provider. If provider is `vault`, the path must be prefixed with `secret/`.
Expand Down
Loading