Skip to content

Instantly share code, notes, and snippets.

@douglasduteil
Created December 18, 2019 12:42
Show Gist options
  • Save douglasduteil/272a09976c8f9d53ce644278f3471ea9 to your computer and use it in GitHub Desktop.
Save douglasduteil/272a09976c8f9d53ce644278f3471ea9 to your computer and use it in GitHub Desktop.
kube-resource-report.dev.fabrique.social.gouv.fr install
$ curl -L https://github.com/hjacobs/kube-resource-report/archive/19.12.0.tar.gz | tar -xz
# create `kube-resource-report` in default project
$ kubectl label namespace kube-resource-report cert=wildcard
$ kubectl config set-context --current --namespace=kube-resource-report
$ helm upgrade \
--install \
--set "image.tag=19.12.0" \
--set "ingress.enabled=true" \
--set "ingress.hosts[0].host=kube-resource-report.dev.fabrique.social.gouv.fr" \
--set "ingress.hosts[0].paths[0]=/" \
--set "ingress.tls[0].hosts[0]=kube-resource-report.dev.fabrique.social.gouv.fr" \
--set "ingress.tls[0].secretName=wildcard-crt" \
--set "ingress.annotations.kubernetes\.io/ingress\.class=azure/application-gateway" \
--set-string "ingress.annotations.appgw\.ingress\.kubernetes\.io/ssl-redirect=true" \
kube-resource-report \
~/tmp/kube-resource-report-19.12.0/chart/kube-resource-report || helm delete --purge kube-resource-report
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment