flux demo

This commit is contained in:
Edward Viaene
2020-04-09 22:23:05 +02:00
parent c82d702edb
commit bec8d4af9c

27
flux/README.md Normal file
View File

@@ -0,0 +1,27 @@
# Installation
```
kubectl create ns flux
export GHUSER="YOURUSER"
fluxctl install \
--git-user=${GHUSER} \
--git-email=${GHUSER}@users.noreply.github.com \
--git-url=git@github.com:${GHUSER}/flux-demo \
--git-path=namespaces,workloads \
--namespace=flux | kubectl apply -f -
```
Check rollout status:
```
kubectl -n flux rollout status deployment/flux
```
# Setup SSH key
```
fluxctl identity --k8s-fwd-ns flux
```
# Sync repo manually
```
fluxctl sync --k8s-fwd-ns flux
```