Skip to content

Commit

Permalink
Change - to -- for auth-proxy additionalFlags (#2126)
Browse files Browse the repository at this point in the history
  • Loading branch information
lindhe committed Oct 26, 2020
1 parent 3b66223 commit 41cc376
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/user/using-an-OIDC-provider.md
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ helm install kubeapps bitnami/kubeapps \
--set authProxy.clientID=my-client-id.apps.googleusercontent.com \
--set authProxy.clientSecret=my-client-secret \
--set authProxy.cookieSecret=$(echo "not-good-secret" | base64) \
--set authProxy.additionalFlags="{-cookie-secure=false,-oidc-issuer-url=https://accounts.google.com}" \
--set authProxy.additionalFlags="{--cookie-secure=false,--oidc-issuer-url=https://accounts.google.com}" \
```

**Example 2: Using a custom oauth2-proxy provider**
Expand All @@ -106,7 +106,7 @@ helm install kubeapps bitnami/kubeapps \
--set authProxy.clientID=my-client-id.apps.googleusercontent.com \
--set authProxy.clientSecret=my-client-secret \
--set authProxy.cookieSecret=$(echo "not-good-secret" | base64) \
--set authProxy.additionalFlags="{-cookie-secure=false}"
--set authProxy.additionalFlags="{--cookie-secure=false}"
```

**Example 3: Authentication for Kubeapps on a GKE cluster**
Expand All @@ -127,7 +127,7 @@ helm install kubeapps bitnami/kubeapps \
--set authProxy.clientID=my-client-id.apps.googleusercontent.com \
--set authProxy.clientSecret=my-client-secret \
--set authProxy.cookieSecret=$(echo "not-good-secret" | base64) \
--set authProxy.additionalFlags="{-cookie-secure=false,-scope=https://www.googleapis.com/auth/userinfo.email https://www.googleapis.com/auth/cloud-platform}" \
--set authProxy.additionalFlags="{--cookie-secure=false,--scope=https://www.googleapis.com/auth/userinfo.email https://www.googleapis.com/auth/cloud-platform}" \
--set frontend.proxypassAccessTokenAsBearer=true
```

Expand Down

0 comments on commit 41cc376

Please sign in to comment.