File: test_config_with_oidc_auth.yaml

package info (click to toggle)
python-pykube-ng 22.9.0-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 424 kB
  • sloc: python: 2,336; makefile: 44
file content (23 lines) | stat: -rw-r--r-- 570 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# TODO: Replace with a more realistic example
current-context: thecluster
clusters:
    - name: thecluster
      cluster: {}
users:
    - name: admin
      user:
        auth-provider:
          config:
            client-id: google
            client-secret: s3cr3t
            id-token: some-id-token
            idp-issuer-url: https://accounts.google.com
            refresh-token: some-refresh-token
          name: oidc
contexts:
    - name: thecluster
      context:
        cluster: thecluster
        user: admin
    - name: second
      context: secondcontext