Skip to content

Instantly share code, notes, and snippets.

@arosales
Created August 16, 2019 18:47
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save arosales/dca7a6d933256e9aa255f16053e356f0 to your computer and use it in GitHub Desktop.
Save arosales/dca7a6d933256e9aa255f16053e356f0 to your computer and use it in GitHub Desktop.
##################################
I am testing OpenFaaS 1-click with the following URL:
https://cloud.digitalocean.com/kubernetes/clusters/new?i=0999ca&nodePools=s-1vcpu-2gb:3&region=sfo2&addonslug=openfaas
I am able to get a gateway IP, but the password keeps coming back blank
Following instructions at https://github.com/openfaas-incubator/install-doks#log-into-openfaas
##################################
# everything looks to be in a "Running" state:
~ ❯ kubectl get pods -A
NAMESPACE NAME READY STATUS RESTARTS AGE
kube-system cilium-c22hk 1/1 Running 0 8m46s
kube-system cilium-fp95x 1/1 Running 0 6m32s
kube-system cilium-operator-57586bb7cb-xp7g2 1/1 Running 0 10m
kube-system cilium-swq6f 1/1 Running 0 8m49s
kube-system coredns-9d6bf9876-227lh 1/1 Running 0 10m
kube-system coredns-9d6bf9876-tfdqb 1/1 Running 0 10m
kube-system csi-do-node-dcwkq 2/2 Running 0 8m49s
kube-system csi-do-node-pwbkb 2/2 Running 0 8m46s
kube-system csi-do-node-z82w7 2/2 Running 0 6m32s
kube-system do-node-agent-265qd 1/1 Running 0 8m29s
kube-system do-node-agent-f72k9 1/1 Running 0 8m35s
kube-system do-node-agent-hj2tq 1/1 Running 0 6m2s
kube-system kube-proxy-7sgh8 1/1 Running 0 8m49s
kube-system kube-proxy-bw97m 1/1 Running 0 6m32s
kube-system kube-proxy-f4pnr 1/1 Running 0 8m46s
openfaas alertmanager-5b7db9cc5-w76np 1/1 Running 0 5m20s
openfaas basic-auth-plugin-7ccd8f8c77-6k8kr 1/1 Running 0 5m20s
openfaas faas-idler-6b68895d78-46st5 1/1 Running 1 5m20s
openfaas gateway-86c47fbcdb-xk422 2/2 Running 1 5m19s
openfaas nats-79ffb4bb68-z4d85 1/1 Running 0 5m19s
openfaas prometheus-dc9f4d79f-q4k7b 1/1 Running 0 5m19s
openfaas queue-worker-f94f87444-v4vj6 1/1 Running 1 5m19s
~ ❯ echo $(kubectl get secret -n openfaas basic-auth -o jsonpath="{.data.basic-auth-password}" | base64 --decode) > password.txt
~ ❯ echo Your admin password is: $(cat password.txt)
Your admin password is:
~ ❯ cat password.txt | faas-cli login --username admin --password-stdin
Must provide a non-empty password via --password or --password-stdin
~ ❯
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment