Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 0 additions & 16 deletions cloud-init/k3s/cloud_init.cfg
Original file line numberDiff line numberDiff line change
Expand Up@@ -19,22 +19,6 @@ write_files:
- oidc-client-id=kubectl
- oidc-username-claim=email
- oidc-groups-claim=groups
# Kubernetes ServiceAccount issuer for projected pod tokens. This is separate
# from the Dex OIDC config above, which validates human/user login tokens.
# AWS STS will use the public static discovery/JWKS documents served by www
# at https://makeitwork.cloud/oidc to validate sops-secrets-operator tokens.
- path: /etc/rancher/k3s/config.yaml.d/service-account-issuer.yaml
permissions: '0644'
content: |
# This file loads after oidc.yaml. The + suffix appends to its
# kube-apiserver-arg list instead of replacing the OIDC arguments.
kube-apiserver-arg+:
# First issuer signs new ServiceAccount tokens.
- service-account-issuer=https://makeitwork.cloud/oidc
# Keep the k3s default issuer accepted during transition.
- service-account-issuer=https://kubernetes.default.svc.cluster.local
- service-account-jwks-uri=https://makeitwork.cloud/oidc/openid/v1/jwks
- api-audiences=https://makeitwork.cloud/oidc,https://kubernetes.default.svc.cluster.local

groups:
- default
Expand Down
Loading