authentik: spell out API-defaulted fields on the LDAP route and listeners
The API server defaults group on allowedRoutes.kinds and certificateRefs, and group, kind and weight on the TCPRoute backendRefs. Omitting them left both ArgoCD apps permanently OutOfSync against the live objects. Matches what authentik-httproute.yaml already does.
This commit is contained in:
@@ -20,3 +20,6 @@ spec:
|
|||||||
- backendRefs:
|
- backendRefs:
|
||||||
- name: authentik-ldap
|
- name: authentik-ldap
|
||||||
port: 3389
|
port: 3389
|
||||||
|
kind: Service
|
||||||
|
group: ""
|
||||||
|
weight: 1
|
||||||
|
|||||||
@@ -8,7 +8,8 @@
|
|||||||
port: 389
|
port: 389
|
||||||
allowedRoutes:
|
allowedRoutes:
|
||||||
kinds:
|
kinds:
|
||||||
- kind: TCPRoute
|
- group: gateway.networking.k8s.io
|
||||||
|
kind: TCPRoute
|
||||||
namespaces:
|
namespaces:
|
||||||
from: Selector
|
from: Selector
|
||||||
selector:
|
selector:
|
||||||
@@ -24,12 +25,14 @@
|
|||||||
tls:
|
tls:
|
||||||
mode: Terminate
|
mode: Terminate
|
||||||
certificateRefs:
|
certificateRefs:
|
||||||
- kind: Secret
|
- group: ""
|
||||||
|
kind: Secret
|
||||||
name: authentik-ldap-tls
|
name: authentik-ldap-tls
|
||||||
namespace: envoy-gateway
|
namespace: envoy-gateway
|
||||||
allowedRoutes:
|
allowedRoutes:
|
||||||
kinds:
|
kinds:
|
||||||
- kind: TCPRoute
|
- group: gateway.networking.k8s.io
|
||||||
|
kind: TCPRoute
|
||||||
namespaces:
|
namespaces:
|
||||||
from: Selector
|
from: Selector
|
||||||
selector:
|
selector:
|
||||||
|
|||||||
Reference in New Issue
Block a user