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

Discover BIFROST_GOOGLE_IAP_BACKEND_SERVICE_ID automatically #24

Open
Starefossen opened this issue Apr 11, 2023 · 0 comments
Open

Discover BIFROST_GOOGLE_IAP_BACKEND_SERVICE_ID automatically #24

Starefossen opened this issue Apr 11, 2023 · 0 comments

Comments

@Starefossen
Copy link
Member

Starefossen commented Apr 11, 2023

Currently this variable is set manually from Fasit as we don't have an easy way to find it.

https://github.com/nais/fasit/blob/main/features/bifrost.yaml#L15-L18

config:
  backend.google.iapBackendServiceId:
    type: string
    description: ID for Backend Service for IAP loadbanacer used for verifying JWT tokens from IAP.

Google describes how to do this manually using gcloud, since this is created via an ingress it is a little more "unknown" what the name will be.

gcloud compute backend-services describe SERVICE_NAME --project=PROJECT_ID --global
@Starefossen Starefossen changed the title Generate BIFROST_GOOGLE_IAP_BACKEND_SERVICE_ID automatically Discover BIFROST_GOOGLE_IAP_BACKEND_SERVICE_ID automatically Apr 28, 2023
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