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

Read Keptn API credentials from k8s secrets #16

Open
laszlocph opened this issue Jun 4, 2021 · 0 comments
Open

Read Keptn API credentials from k8s secrets #16

laszlocph opened this issue Jun 4, 2021 · 0 comments

Comments

@laszlocph
Copy link
Collaborator

laszlocph commented Jun 4, 2021

Since the services are deployed in the same namespace, these can be mounted:

env:
  - name: CONFIGURATION_SERVICE
    value: 'http://172.21.0.2.nip.io/api' # output of `http://$(kubectl -n keptn get ingress api-keptn-ingress -ojsonpath='{.spec.rules[0].host}')/api`
  - name: API_TOKEN
    value: "xx" # output of `kubectl get secret keptn-api-token -n keptn -ojsonpath='{.data.keptn-api-token}' | base64 --decode`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant