UNCLASSIFIED - NO CUI

Skip to content
Snippets Groups Projects
Commit a2c22991 authored by Micah Nagel's avatar Micah Nagel Committed by Ryan Garcia
Browse files

Go Template instead of grep/awk/xargs for Kiali Token

parent b6aeb7d4
No related branches found
No related tags found
1 merge request!945Go Template instead of grep/awk/xargs for Kiali Token
......@@ -16,7 +16,7 @@ The applications in the table below provide both SSO and built in auth. The tabl
| Package (Application) | Default Username | Default Password | Additional Notes |
| --------------------- | ---------------- | ---------------- | ---------------- |
| Kiali | N/A | (randomly generated) | Use `kubectl get secret -n kiali \| grep kiali-service-account-token \| awk '{print $1}' \| xargs kubectl get secret -n kiali -o go-template='{{.data.token \| base64decode}}'` to get the token |
| Kiali | N/A | (randomly generated) | Use `kubectl get secret -n kiali -o go-template='{{range $secret := .items}}{{with $secret.metadata.annotations}}{{with (index . "kubernetes.io/service-account.name")}}{{if eq . "kiali-service-account"}}{{$secret.data.token \| base64decode}}{{end}}{{end}}{{end}}{{end}}'` to get the token |
| Logging (Kibana) | `elastic` | (randomly generated) | Use `kubectl get secrets -n logging logging-ek-es-elastic-user -o go-template='{{.data.elastic \| base64decode}}'` to get the password |
| Monitoring (Grafana) | `admin` | `prom-operator` | Default password can be overridden with Helm values `monitoring.values.grafana.adminPassword` |
| Twistlock | N/A | N/A | Prompted to setup an admin account when you first hit the virtual service, no default user |
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment