Skip to content
This repository has been archived by the owner on Nov 1, 2022. It is now read-only.

Commit

Permalink
Merge pull request #1710 from weaveworks/helm-fix
Browse files Browse the repository at this point in the history
Helm chart: Fix custom SSH secret mapping
  • Loading branch information
stefanprodan committed Feb 6, 2019
2 parents 737815d + 9f1e8e7 commit 1f8fe86
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion chart/flux/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ spec:
{{- end }}
args:
- --ssh-keygen-dir=/var/fluxd/keygen
- --k8s-secret-name={{ template "flux.fullname" . }}-git-deploy
- --k8s-secret-name={{ .Values.git.secretName | default (printf "%s-git-deploy" (include "flux.fullname" .)) }}
- --memcached-hostname={{ template "flux.fullname" . }}-memcached
{{- if .Values.memcached.createClusterIP }}
- --memcached-service=
Expand Down
4 changes: 2 additions & 2 deletions chart/flux/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ helmOperator:
# generate a SSH key named identity: ssh-keygen -q -N "" -f ./identity
# create a Kubernetes secret: kubectl -n flux create secret generic helm-ssh --from-file=./identity
# delete the private key: rm ./identity
# add ./identity.pub as a read-only deployment key in your GitHub repo where the charts are
# add ./identity.pub as a read-only deployment key in your Git repo where the charts are
# set the secret name (helm-ssh) below
secretName: ""
# Additional environment variables to set
Expand Down Expand Up @@ -114,7 +114,7 @@ git:
# generate a SSH key named identity: ssh-keygen -q -N "" -f ./identity
# create a Kubernetes secret: kubectl -n flux create secret generic flux-ssh --from-file=./identity
# delete the private key: rm ./identity
# add ./identity.pub as a read-only deployment key in your GitHub repo where the charts are
# add ./identity.pub as a deployment key with write access in your Git repo
# set the secret name (flux-ssh) below
secretName: ""

Expand Down

0 comments on commit 1f8fe86

Please sign in to comment.