UNCLASSIFIED - NO CUI

Skip to content

Flux & Self Signed Certs = Deployment Failure

When utilizing the customer template, Git Repo with Self Signed Certs, and git via HTTPS not SSH (ssh disabled) Flux refuses to deploy.

$ kubectl apply -f dev/bigbang.yaml
$ kubectl get gitrepositories,kustomizations,hr,po -A

bigbang     gitrepository.source.toolkit.fluxcd.io/environment-repo   https://redacted.git   False   unable to clone 'https://redacted.git', error: Get "https://redacted.git/info/refs?service=git-up
load-pack": x509: certificate signed by unknown authority 

Flux official docs - "Note: that self-signed certificates are not supported."

Using a configmap certs can be mounted to the flux source-manager for a manual workaround