Compare commits
1
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
fc63acbcc9 |
@@ -6,7 +6,7 @@ metadata:
|
|||||||
data:
|
data:
|
||||||
KMSVC_KAFKA_BROKERS: {{ .Values.env.kafkaBrokers | quote }}
|
KMSVC_KAFKA_BROKERS: {{ .Values.env.kafkaBrokers | quote }}
|
||||||
KMSVC_REDIS_ADDR: {{ .Values.env.redisAddr | quote }}
|
KMSVC_REDIS_ADDR: {{ .Values.env.redisAddr | quote }}
|
||||||
KMSVC_AUTHENTIK_ISSUER_URL: {{ .Values.env.authentikIssuerURL | quote }}
|
KMSVC_ZITADEL_ISSUER_URL: {{ .Values.env.zitadelIssuerURL | quote }}
|
||||||
KMSVC_AUTHENTIK_AUDIENCE: {{ .Values.env.authentikAudience | quote }}
|
KMSVC_ZITADEL_AUDIENCE: {{ .Values.env.zitadelAudience | quote }}
|
||||||
KMSVC_GRPC_LISTEN_ADDR: ":{{ .Values.grpcPort }}"
|
KMSVC_GRPC_LISTEN_ADDR: ":{{ .Values.grpcPort }}"
|
||||||
KMSVC_HTTP_LISTEN_ADDR: ":{{ .Values.httpPort }}"
|
KMSVC_HTTP_LISTEN_ADDR: ":{{ .Values.httpPort }}"
|
||||||
|
|||||||
@@ -12,8 +12,8 @@ httpPort: 8080
|
|||||||
env:
|
env:
|
||||||
kafkaBrokers: "kmsvc-kafka-bootstrap.sqs.svc.cluster.local:9092"
|
kafkaBrokers: "kmsvc-kafka-bootstrap.sqs.svc.cluster.local:9092"
|
||||||
redisAddr: "kmsvc-redis-master.sqs.svc.cluster.local:6379"
|
redisAddr: "kmsvc-redis-master.sqs.svc.cluster.local:6379"
|
||||||
authentikIssuerURL: ""
|
zitadelIssuerURL: ""
|
||||||
authentikAudience: ""
|
zitadelAudience: ""
|
||||||
|
|
||||||
resources:
|
resources:
|
||||||
requests:
|
requests:
|
||||||
|
|||||||
@@ -33,14 +33,6 @@ machine:
|
|||||||
- ip: ${forgejo_registry_ip}
|
- ip: ${forgejo_registry_ip}
|
||||||
aliases:
|
aliases:
|
||||||
- ${forgejo_hostname}
|
- ${forgejo_hostname}
|
||||||
# kube-apiserver's static pod runs on the host network, so it resolves
|
|
||||||
# authentik.riotpiao.com via THIS node's DNS, not cluster CoreDNS - the
|
|
||||||
# OIDC issuer discovery call would otherwise hit the public
|
|
||||||
# Cloudflare-fronted IP instead of nginx directly. Same reasoning as
|
|
||||||
# the forgejo entry above.
|
|
||||||
- ip: 192.168.1.160
|
|
||||||
aliases:
|
|
||||||
- authentik.riotpiao.com
|
|
||||||
kubelet:
|
kubelet:
|
||||||
image: ${kubelet_image}
|
image: ${kubelet_image}
|
||||||
defaultRuntimeSeccompProfileEnabled: true
|
defaultRuntimeSeccompProfileEnabled: true
|
||||||
@@ -128,19 +120,10 @@ cluster:
|
|||||||
- ${san}
|
- ${san}
|
||||||
%{ endfor ~}
|
%{ endfor ~}
|
||||||
image: ${kube_apiserver_img}
|
image: ${kube_apiserver_img}
|
||||||
# Foundation for the Authentik group -> k8s RBAC pattern in
|
# No OIDC block. The cluster authenticates with client certificates. An
|
||||||
# k8s/infra/rbac/ - additive only, existing client-cert auth
|
# earlier Authentik-based kube-apiserver OIDC config was removed from the
|
||||||
# (system:masters, this session's own admin@homelab-cluster kubeconfig)
|
# live nodes, and leaving it here would re-add an issuer that no longer
|
||||||
# keeps working unchanged; a bad OIDC config just means OIDC logins fail,
|
# resolves on any future machine-config render.
|
||||||
# not a lockout. Prefixes avoid collision with built-in system:* users
|
|
||||||
# and groups.
|
|
||||||
extraArgs:
|
|
||||||
oidc-issuer-url: https://authentik.riotpiao.com/application/o/kubernetes/
|
|
||||||
oidc-client-id: kubernetes
|
|
||||||
oidc-username-claim: email
|
|
||||||
oidc-groups-claim: groups
|
|
||||||
oidc-username-prefix: "oidc:"
|
|
||||||
oidc-groups-prefix: "oidc:"
|
|
||||||
admissionControl:
|
admissionControl:
|
||||||
- name: PodSecurity
|
- name: PodSecurity
|
||||||
configuration:
|
configuration:
|
||||||
|
|||||||
Reference in New Issue
Block a user