Tuesday, October 22, 2019

kubernetes: Installing kubeapps and adding ingress via traefik

$ helm repo add bitnami https://charts.bitnami.com/bitnami
$ helm install --name kubeapps --namespace kubeapps bitnami/kubeapps
$ kubectl create serviceaccount kubeapps-operator
$ kubectl create clusterrolebinding kubeapps-operator --clusterrole=cluster-admin --serviceaccount=default:kubeapps-operator
$ kubectl apply -f ingress-kubeapps.yaml
$ kubectl get secret $(kubectl get serviceaccount kubeapps-operator -o jsonpath='{.secrets[].name}') -o jsonpath='{.data.token}' -o go-template='{{.data.token | base64decode}}' && echo

Access: kubeapps.medogz.home and use the token from get secret command

More info: https://github.com/kubeapps/kubeapps/blob/master/docs/user/getting-started.md

No comments:

Post a Comment