Skip to content

Commit

Permalink
Merge pull request #1 from poligonoio/feature/update-required-envs
Browse files Browse the repository at this point in the history
fix: Update env and secret vars
  • Loading branch information
eddydecena authored Sep 25, 2024
2 parents f4e48fd + b52cf3c commit ebccd99
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 4 deletions.
14 changes: 12 additions & 2 deletions charts/poligono/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -62,11 +62,21 @@ spec:
secretKeyRef:
name: {{ include "poligono.fullname" . }}
key: INFISICAL_PROJECT_ID
- name: TRINO_DSN
- name: QUERY_ENGINE_DSN
valueFrom:
secretKeyRef:
name: {{ include "poligono.fullname" . }}
key: TRINO_DSN
key: QUERY_ENGINE_DSN
- name: OAUTH2_ISSUER
valueFrom:
secretKeyRef:
name: {{ include "poligono.fullname" . }}
key: OAUTH2_ISSUER
- name: OAUTH2_AUDIENCE
valueFrom:
secretKeyRef:
name: {{ include "poligono.fullname" . }}
key: OAUTH2_AUDIENCE
- name: AUTHENTICATION_ENABLE_RBAC
value: {{ .Values.env.authenticationEnableRBAC | default "true" | toString | quote }}
- name: AUTHENTICATION_TYPE
Expand Down
4 changes: 3 additions & 1 deletion charts/poligono/templates/secrets.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,6 @@ data:
INFISICAL_CLIENT_ID: '{{ .Values.secrets.infisicalClientId | b64enc }}'
INFISICAL_CLIENT_SECRET: '{{ .Values.secrets.infisicalClientSecret | b64enc }}'
INFISICAL_PROJECT_ID: '{{ .Values.secrets.infisicalProjectId | b64enc }}'
TRINO_DSN: '{{ .Values.secrets.trinoDSN | b64enc }}'
QUERY_ENGINE_DSN: '{{ .Values.secrets.queryEngineDSN | b64enc }}'
OAUTH2_ISSUER: '{{ .Values.secrets.oauth2Issuer | b64enc }}'
OAUTH2_AUDIENCE: '{{ .Values.secrets.oauth2Audience | b64enc }}'
2 changes: 1 addition & 1 deletion charts/poligono/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ replicaCount: 1
image:
repository: ghcr.io/poligonoio/poligono
pullPolicy: IfNotPresent
tag: "v0.1.1"
tag: "latest"

imagePullSecrets: []
nameOverride: ""
Expand Down

0 comments on commit ebccd99

Please sign in to comment.