Skip to content

Commit

Permalink
Resolve env variable secrets in the docker registry helm chart (#473)
Browse files Browse the repository at this point in the history
Co-authored-by: Jon Perry <[email protected]>
  • Loading branch information
jeff-mccoy and YrrepNoj authored May 4, 2022
1 parent 612346e commit e90fa27
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
6 changes: 5 additions & 1 deletion packages/zarf-registry/registry-values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@ image:
repository: "###ZARF_REGISTRY###/library/registry"
secrets:
htpasswd: "###ZARF_HTPASSWD###"
configData:
http:
secret: "###ZARF_REGISTRY_SECRET###"

# https://github.com/containerd/containerd/blob/v1.5.8/pkg/cri/server/image_pull.go#L412
# thx containerd *magic* :-D
# tlsSecretName: tls-pem
Expand All @@ -18,4 +22,4 @@ resources:
memory: "256Mi"
limits:
cpu: "3"
memory: "2Gi"
memory: "2Gi"
4 changes: 2 additions & 2 deletions packages/zarf-registry/zarf.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ components:
charts:
- name: docker-registry
url: https://github.com/defenseunicorns/docker-registry.helm.git
version: 2.0.0
version: 2.1.0-zarf
namespace: zarf
valuesFiles:
- registry-values.yaml
Expand All @@ -22,7 +22,7 @@ components:
charts:
- name: docker-registry
url: https://github.com/defenseunicorns/docker-registry.helm.git
version: 2.0.0
version: 2.1.0-zarf
namespace: zarf
valuesFiles:
- registry-values.yaml

0 comments on commit e90fa27

Please sign in to comment.