Skip to content

Commit

Permalink
try to fix deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
KizerovDmitriy committed Dec 20, 2024
1 parent c6fdc1f commit c2c637c
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 c2c637c

Please sign in to comment.