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 #2047 from weaveworks/update-faq
Browse files Browse the repository at this point in the history
FAQ improvements
  • Loading branch information
2opremio authored May 14, 2019
2 parents c4fadea + a704255 commit d21b3ed
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions site/faq.md
Original file line number Diff line number Diff line change
Expand Up @@ -242,14 +242,17 @@ First delete the secret (if it exists):

`kubectl delete secret flux-git-deploy`

Then create a new secret named `flux-git-deploy`, using your private key as the content of the secret:
Then create a new secret named `flux-git-deploy`, using your private key as the content of the secret (you can generate the key with `ssh-keygen -q -N "" -f /full/path/to/private_key`):

`kubectl create secret generic flux-git-deploy --from-file=identity=/full/path/to/private_key`

Now restart fluxd to re-read the k8s secret (if it is running):

`kubectl delete $(kubectl get pod -o name -l name=flux)`

If you have installed flux through Helm, make sure to pass
`--set git.secretName=flux-git-deploy` when installing/upgrading the chart.

### How do I use a private git host (or one that's not github.com, gitlab.com, bitbucket.org, dev.azure.com, or vs-ssh.visualstudio.com)?

As part of using git+ssh securely from the Flux daemon, we make sure
Expand Down Expand Up @@ -306,7 +309,7 @@ to experiment to find the most restrictive permissions that work for
your case.

You will need to use the (experimental) command-line flag
`--k8s-namespace-whitelist` to enumerate the namespaces that Flux
`--k8s-allow-namespace` to enumerate the namespaces that Flux
attempts to scan for workloads.

### Can I change the namespace Flux puts things in by default?
Expand Down

0 comments on commit d21b3ed

Please sign in to comment.