Skip to content

Commit

Permalink
Merge pull request #57 from dynamofl/add-dguard-dgen-keys
Browse files Browse the repository at this point in the history
add list of keys for dynamoguard.api keys
  • Loading branch information
brarkaran authored Sep 25, 2024
2 parents 421b360 + 4401156 commit 1a9f577
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion charts/dynamoai-core/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ type: application
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
version: 0.1.7
version: 0.1.8

# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application. Versions are not expected to
Expand Down
2 changes: 1 addition & 1 deletion charts/dynamoai-core/templates/secrets.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ metadata:
name: {{ include "dynamoai.fullname" . }}-apikeys-secret
type: Opaque
data:
dynamoai.guard.apikeys: {{ (join "," .Values.secrets.apikeys.mistral) | b64enc | quote }}
dynamoai.guard.apikeys: {{ (join "," .Values.secrets.apikeys.guard) | b64enc | quote }}
dynamoai.pentest.apikeys.mistral: {{ (join "," .Values.secrets.apikeys.mistral) | b64enc | quote }}
dynamoai.pentest.apikeys.openai: {{ (join "," .Values.secrets.apikeys.openai) | b64enc | quote }}
dynamoai.pentest.apikeys.azure_openai: {{ .Values.secrets.apikeys.azure_openai | b64enc | quote }}
Expand Down
2 changes: 2 additions & 0 deletions charts/dynamoai-core/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,8 @@ secrets:
dataGenerationApiKey: ""
hfToken: ""
apikeys:
guard:
- "abc"
openai:
- "abc"
mistral:
Expand Down

0 comments on commit 1a9f577

Please sign in to comment.