-
Notifications
You must be signed in to change notification settings - Fork 710
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update nginx frontend config to support additional clusters. (#1759)
* Update frontend config to support additional clusters. Additionally updates the local devel setup to easily add an additional cluster with oidc options pointing to dex running on the initial cluster. * Do not require CA data for additional clusters.
- Loading branch information
1 parent
ade0239
commit 0307553
Showing
5 changed files
with
78 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
24 changes: 24 additions & 0 deletions
24
docs/user/manifests/kubeapps-local-dev-additional-apiserver-config.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
{ | ||
"kind": "Cluster", | ||
"apiVersion": "kind.sigs.k8s.io/v1alpha3", | ||
"nodes": [ | ||
{ | ||
"role": "control-plane", | ||
"extraMounts": [ | ||
{ | ||
"readOnly": true, | ||
"hostPath": "./devel/dex.crt", | ||
"containerPath": "/etc/ssl/certs/dex.crt" | ||
} | ||
] | ||
} | ||
], | ||
"kubeadmConfigPatchesJson6902": [ | ||
{ | ||
"group": "kubeadm.k8s.io", | ||
"version": "v1beta2", | ||
"kind": "ClusterConfiguration", | ||
"patch": "[{ \"op\": \"add\", \"path\": \"/apiServer/extraArgs\", \"value\": {}}, {\"op\": \"add\", \"path\": \"/apiServer/extraArgs/oidc-issuer-url\", \"value\": \"https://172.18.0.2:32000\"}, {\"op\": \"add\", \"path\": \"/apiServer/extraArgs/oidc-client-id\", \"value\": \"kubeapps\"}, {\"op\": \"add\", \"path\": \"/apiServer/extraArgs/oidc-ca-file\", \"value\": \"/etc/ssl/certs/dex.crt\"}, {\"op\": \"add\", \"path\": \"/apiServer/extraArgs/oidc-username-claim\", \"value\": \"email\"}, {\"op\": \"add\", \"path\": \"/apiServer/extraArgs/oidc-username-prefix\",\"value\": \"oidc:\"}]" | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters