Skip to content
This repository has been archived by the owner on Jun 29, 2022. It is now read-only.

Gangway gives an empty CA when outputting kubeconfig #1103

Closed
iaguis opened this issue Oct 20, 2020 · 0 comments · Fixed by #1104
Closed

Gangway gives an empty CA when outputting kubeconfig #1103

iaguis opened this issue Oct 20, 2020 · 0 comments · Fixed by #1104
Labels
area/components Items related to components bug Something isn't working
Milestone

Comments

@iaguis
Copy link
Contributor

iaguis commented Oct 20, 2020

When deploying Dex+Gangway to a new cluster and trying to log in, the CLI instructions show this:

echo "" \ > /tmp/ca-test-oidc.pem

In quotes should be the cluster CA but it is empty.

This happens because Gangway is using the default service account and since #704 we don't mount it in pods by default. This causes the CA file that Gangway expects (/var/run/secrets/kubernetes.io/serviceaccount/ca.crt) not to be in the pod file system.

@iaguis iaguis added bug Something isn't working area/components Items related to components labels Oct 20, 2020
@iaguis iaguis added this to the v0.5.0 milestone Oct 20, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area/components Items related to components bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant