17 lines
599 B
Plaintext
17 lines
599 B
Plaintext
1. Get the JWT for logging in to the console:
|
|
kubectl apply -f - <<EOF
|
|
apiVersion: v1
|
|
kind: Secret
|
|
metadata:
|
|
name: console-sa-secret
|
|
namespace: {{ .Release.Namespace }}
|
|
annotations:
|
|
kubernetes.io/service-account.name: console-sa
|
|
type: kubernetes.io/service-account-token
|
|
EOF
|
|
kubectl -n {{ .Release.Namespace }} get secret console-sa-secret -o jsonpath="{.data.token}" | base64 --decode
|
|
|
|
2. Get the Operator Console URL by running these commands:
|
|
kubectl --namespace {{ .Release.Namespace }} port-forward svc/console 9090:9090
|
|
echo "Visit the Operator Console at http://127.0.0.1:9090"
|