Skip to content

Commit da768a3

Browse files
ashish1099claude
andcommitted
fix(netbird-operator): pin image to v0.7.0 and drop ClusterProxy groups
Pin the operator image to v0.7.0 (operator.image.tag) — the ClusterProxy apiserver-proxy controller lives there. Drop the groups field from the ClusterProxy template + values: the vendored 0.6.0 CRD prunes it, leaving ArgoCD perpetually OutOfSync, and group scoping isn't needed (mesh policy + impersonation RBAC handle authorization). Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
1 parent daf6be3 commit da768a3

2 files changed

Lines changed: 6 additions & 10 deletions

File tree

argocd-helm-charts/netbird-operator/templates/cluster-proxy.yaml

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
shared kubernetes Service ClusterIP (10.96.0.1, identical in every
66
cluster). The chart also provisions the impersonation ServiceAccount +
77
ClusterRole/Binding the proxy needs. Requires netbird-operator >= 0.7.0
8-
(the apiserver-proxy controller and the ClusterProxy `groups` field).
8+
(the apiserver-proxy controller).
99

1010
The proxy GRANTS nothing — it impersonates. Authorization still comes from
1111
your own RBAC bound to the NetBird users/groups the proxy stamps. */}}
@@ -52,10 +52,4 @@ spec:
5252
clusterName: {{ $name }}
5353
serviceAccountName: {{ $sa }}
5454
apiServer: {{ .Values.clusterProxy.apiServer }}
55-
{{- with .Values.clusterProxy.groups }}
56-
groups:
57-
{{- range . }}
58-
- name: {{ . }}
59-
{{- end }}
60-
{{- end }}
6155
{{- end }}

argocd-helm-charts/netbird-operator/values.yaml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,9 @@
11
netbird-operator:
2+
# Pin the operator image to 0.7.0 — the ClusterProxy apiserver-proxy
3+
# controller lives there (the vendored 0.6.0 subchart/CRDs are otherwise fine).
4+
operator:
5+
image:
6+
tag: "v0.7.0"
27
webhook:
38
# The operator ships a mutating webhook on EVERY pod CREATE in the
49
# cluster (mpod-v1.netbird.io) to inject mesh sidecars/DNS. On
@@ -69,6 +74,3 @@ clusterProxy:
6974
# In-cluster apiserver URL — the default sidesteps cert-SAN/hostname issues
7075
# since the proxy never leaves the cluster network to reach the apiserver.
7176
apiServer: https://kubernetes.default.svc.cluster.local
72-
# NetBird groups the proxy peer joins; grant access via a Mgmt policy
73-
# targeting these. Needs operator >= 0.7.0. Empty = none.
74-
groups: []

0 commit comments

Comments
 (0)