M operators/grafana-operator.yaml => operators/grafana-operator.yaml +19 -0
@@ 32,3 32,22 @@ spec:
image:
# TODO remove once upstream updated to one not yet trimmed
tag: "11"
+ config:
+ server:
+ root_url: https://grafana.xdavidwu.link
+ users:
+ viewers_can_edit: 'true'
+ auth:
+ disable_login_form: 'true'
+ auth.gitlab:
+ enabled: 'true'
+ allow_sign_up: 'true'
+ client_id: 26c3ec83c4adf31cdd63403a8c0e0cde2bf58cbe3b8e16de95681db6f204cc80
+ client_secret: TO_BE_OVERRIDDEN # GF_AUTH_GITLAB_CLIENT_SECRET
+ scopes: read_user
+ auth_url: https://gitlab.xdavidwu.link/oauth/authorize
+ token_url: https://gitlab.xdavidwu.link/oauth/token
+ api_url: https://gitlab.xdavidwu.link/api/v4
+ envFrom:
+ - secretRef:
+ name: overrides