27 lines
1.4 KiB
Text
27 lines
1.4 KiB
Text
|
apiVersion: v1
|
||
|
kind: Config
|
||
|
clusters:
|
||
|
- name: tjo-cloud
|
||
|
cluster:
|
||
|
server: https://api.k8s.tjo.cloud:6443
|
||
|
certificate-authority-data: LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSUJpVENDQVMrZ0F3SUJBZ0lRUFlySjYzMngyaUJXQnRCeWZOTVB4akFLQmdncWhrak9QUVFEQWpBVk1STXcKRVFZRFZRUUtFd3ByZFdKbGNtNWxkR1Z6TUI0WERUSTBNRGN5TlRFMU1qWXlNMW9YRFRNME1EY3lNekUxTWpZeQpNMW93RlRFVE1CRUdBMVVFQ2hNS2EzVmlaWEp1WlhSbGN6QlpNQk1HQnlxR1NNNDlBZ0VHQ0NxR1NNNDlBd0VICkEwSUFCR2NCTm84UXQ0djUrdnloWVl2SU5UcEllVTgvNFVjUU9jOUJHQm53OU9ITWEwUGU1MnhoYS9mdGl0L1kKZTBkVFBybzNMdjNYREFVMmN6NC9JVjBOVWVXallUQmZNQTRHQTFVZER3RUIvd1FFQXdJQ2hEQWRCZ05WSFNVRQpGakFVQmdnckJnRUZCUWNEQVFZSUt3WUJCUVVIQXdJd0R3WURWUjBUQVFIL0JBVXdBd0VCL3pBZEJnTlZIUTRFCkZnUVVwbC9NbWlvRUdVTDFScFd4TVZpakNXdmsxOHd3Q2dZSUtvWkl6ajBFQXdJRFNBQXdSUUloQU41b0lTeWMKNVZhc2IvMmxQbmlBSVBkVWF4OHdJMldJVjlyMHd1SEVnVWNmQWlBL2RsMFZocEhGSUlEcldEajFBeGtHNEZXbgpUNHJ4K0IvRFBiQnhsM2VmclE9PQotLS0tLUVORCBDRVJUSUZJQ0FURS0tLS0tCg==
|
||
|
contexts:
|
||
|
- name: oidc@tjo-cloud
|
||
|
context:
|
||
|
cluster: tjo-cloud
|
||
|
namespace: default
|
||
|
user: oidc
|
||
|
current-context: oidc@tjo-cloud
|
||
|
users:
|
||
|
- name: oidc
|
||
|
user:
|
||
|
exec:
|
||
|
apiVersion: client.authentication.k8s.io/v1beta1
|
||
|
command: kubectl
|
||
|
args:
|
||
|
- oidc-login
|
||
|
- get-token
|
||
|
- --oidc-issuer-url=https://id.tjo.space/application/o/k8stjocloud/
|
||
|
- --oidc-client-id=HAI6rW0EWtgmSPGKAJ3XXzubQTUut2GMeTRS2spg
|
||
|
- --oidc-extra-scope=profile
|