Skip to content

Commit

Permalink
Merge pull request #7952 from ita-social-projects/fix
Browse files Browse the repository at this point in the history
  • Loading branch information
KizerovDmitriy authored Dec 20, 2024
2 parents 9258417 + 65728ca commit 38335e9
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
4 changes: 4 additions & 0 deletions greencity-chart/templates/ClusterExternalSecret.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -274,4 +274,8 @@ spec:
remoteRef:
key: DOMAIN-NAME

- secretKey: OPEN-AI-API-KEY
remoteRef:
key: OPEN-AI-API-KEY

{{- end }}
6 changes: 6 additions & 0 deletions greencity-chart/templates/greencity.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -258,6 +258,12 @@ spec:
name: {{ .Values.externalSecret.secretName }}
key: GOOGLE-API-KEY

- name: OPEN_AI_API_KEY
valueFrom:
secretKeyRef:
name: {{ .Values.externalSecret.secretName }}
key: OPEN-AI-API-KEY

ports:
- containerPort: 8080
name: tomcat

0 comments on commit 38335e9

Please sign in to comment.