Skip to content

Commit

Permalink
Merge pull request #81 from Leukocyte-Lab/fix/registry-secret-format
Browse files Browse the repository at this point in the history
fix: Registry secret has invalid JSON format.
  • Loading branch information
Aries0d0f authored Jan 12, 2023
2 parents 8f62bae + 62b3601 commit 2a4b9e1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion charts/agh2/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: 1.3.0
version: 1.3.1

# 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
3 changes: 2 additions & 1 deletion charts/agh2/templates/base/registry-secret.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,13 @@ stringData:
{{- with .Values.customRegistrySecret.auth }}
.dockerconfigjson: |
{
"auths":
"auths": {
{{ required "customRegistrySecret.auth.registry is required" .registry | quote }}: {
"username": {{ required "customRegistrySecret.auth.username is required" .username | quote }},
"password": {{ required "customRegistrySecret.auth.password is required" .password | quote }},
"auth": {{ printf "%s:%s" .username .password | b64enc | quote }}
}
}
}
{{- end }}
{{- end -}}

0 comments on commit 2a4b9e1

Please sign in to comment.