Index infrastructure as code repository which contains all ArgoCD configs to get Index backend services up and running on a k8s cluster.
The code for the kubernetes cluster setup can be found in this repository.
Secrets cannot be commited to git, for this reason we use sealed secrets
-
Install
kubesealandyqon your local machine:brew install kubeseal yq
-
Follow installation instructions for sealed-secrets
kubectl apply -k ./sealed-secrets-installation
-
Prepare secrets:
In each folder under/k8s-resourcesthere can be a/secretsfolder.
Each contains a*-secret.template.yamlfile, duplicate it and remove the.templatepart from the new file name. Then fill out the values. -
Seal the secrets:
chmod +x scripts/seal-secrets.sh && scripts/seal-secrets.sh(Recommended) You can also provide a specific folder to the script, instead of sealing all secrets:
scripts/seal-secrets.sh cert-manager -
Commit and push the changes