Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Getting started from Readme not working #13

Open
koanplaned opened this issue Nov 10, 2021 · 1 comment
Open

Getting started from Readme not working #13

koanplaned opened this issue Nov 10, 2021 · 1 comment

Comments

@koanplaned
Copy link

Hi,
I try to follow the getting started instructions from this readme, but running into issues at step 2

I'm using the option with doppler CLI:
kubectl create secret generic doppler-token-secret -n doppler-operator-system --from-literal=serviceToken=$(doppler configs tokens create doppler-kubernetes-operator --plain)

This results in following error: Doppler Error: You must specify a project

When I add a project (and after the second error message the "config"), I receive following error message

Unable to create service token Doppler Error: Please provide a valid config. error: failed to create secret secrets "doppler-token-secret" already exists

Can anyone help here please?

@nmanoogian
Copy link
Member

Hi @adluste 👋

Sorry for the trouble here. I think what happened is that your first attempt (without a project) failed to create a Doppler service token but successfully created the doppler-token-secret in Kubernetes (probably with an empty value).

You should be able to run kubectl delete secret doppler-token-secret -n doppler-operator-system to delete the empty secret and then run the kubectl create secret ... command again.

Can you give this a try and let me know if this works for you?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants