Bump kubernetes-operator chart appVersion to 0.2.1 (#100)

This commit is contained in:
Bethuel Mmbaga
2026-02-12 18:45:07 +03:00
committed by GitHub
parent 5fb144559c
commit 19650e6657
8 changed files with 14 additions and 17 deletions
+2 -2
View File
@@ -2,5 +2,5 @@ apiVersion: v2
name: kubernetes-operator name: kubernetes-operator
description: NetBird Kubernetes Operator description: NetBird Kubernetes Operator
type: application type: application
version: 0.2.0 version: 0.2.1
appVersion: "0.2.0" appVersion: "0.2.1"
@@ -29,10 +29,10 @@ spec:
- name: wait-network-ready - name: wait-network-ready
image: "netbirdio/kubectl:latest" image: "netbirdio/kubectl:latest"
command: command:
- bash - sh
- -c - -c
args: args:
- kubectl wait --for 'jsonpath={.status.networkID}' -n {{ $routerNS }} nbroutingpeer router; - kubectl wait --for 'jsonpath={.status.networkID}' -n {{ $routerNS }} nbroutingpeer router;
containers: containers:
- name: apply-nbresource - name: apply-nbresource
image: "netbirdio/kubectl:latest" image: "netbirdio/kubectl:latest"
@@ -62,7 +62,7 @@ spec:
tcpPorts: tcpPorts:
- 443 - 443
command: command:
- bash - sh
- -c - -c
args: args:
- kubectl delete NBResource --ignore-not-found -n default kubernetes; export NETWORK_ID=$(kubectl get NBRoutingPeer -n {{ $routerNS }} router -o 'jsonpath={.status.networkID}'); echo "$NBRESOURCE_VALUE" | envsubst | kubectl apply -f - - kubectl delete NBResource --ignore-not-found -n default kubernetes; export NETWORK_ID=$(kubectl get NBRoutingPeer -n {{ $routerNS }} router -o 'jsonpath={.status.networkID}'); echo "$NBRESOURCE_VALUE" | envsubst | kubectl apply -f -
+1 -1
View File
@@ -203,4 +203,4 @@ general:
# General labels, applied to all created K8s resources # General labels, applied to all created K8s resources
labels: {} labels: {}
# acme_com_managed_by: platform-engineering # acme_com_managed_by: platform-engineering
# acme_com_owned_by: release-engineering # acme_com_owned_by: release-engineering
@@ -1,4 +1,4 @@
{{- if and .Values.enabled .Values.kubernetesAPI.enabled }} {{- if .Values.kubernetesAPI.enabled }}
{{- $routerNS := .Release.Namespace }} {{- $routerNS := .Release.Namespace }}
{{- if .Values.namespacedNetworks }} {{- if .Values.namespacedNetworks }}
{{- $routerNS = "default" }} {{- $routerNS = "default" }}
@@ -21,18 +21,15 @@ spec:
labels: labels:
app.kubernetes.io/component: operator app.kubernetes.io/component: operator
{{- include "netbird-operator-config.labels" . | nindent 8 }} {{- include "netbird-operator-config.labels" . | nindent 8 }}
{{- with .Values.operator.podLabels }}
{{- toYaml . | nindent 8 }}
{{- end }}
spec: spec:
initContainers: initContainers:
- name: wait-network-ready - name: wait-network-ready
image: "netbirdio/kubectl:latest" image: "netbirdio/kubectl:latest"
command: command:
- bash - sh
- -c - -c
args: args:
- kubectl wait --for 'jsonpath={.status.networkID}' -n {{ $routerNS }} nbroutingpeer router; - kubectl wait --for 'jsonpath={.status.networkID}' -n {{ $routerNS }} nbroutingpeer router;
containers: containers:
- name: apply-nbresource - name: apply-nbresource
image: "netbirdio/kubectl:latest" image: "netbirdio/kubectl:latest"
@@ -62,7 +59,7 @@ spec:
tcpPorts: tcpPorts:
- 443 - 443
command: command:
- bash - sh
- -c - -c
args: args:
- kubectl delete NBResource --ignore-not-found -n default kubernetes; export NETWORK_ID=$(kubectl get NBRoutingPeer -n {{ $routerNS }} router -o 'jsonpath={.status.networkID}'); echo "$NBRESOURCE_VALUE" | envsubst | kubectl apply -f - - kubectl delete NBResource --ignore-not-found -n default kubernetes; export NETWORK_ID=$(kubectl get NBRoutingPeer -n {{ $routerNS }} router -o 'jsonpath={.status.networkID}'); echo "$NBRESOURCE_VALUE" | envsubst | kubectl apply -f -
@@ -27,4 +27,4 @@ spec:
{{- if hasKey $v "bidirectional" }} {{- if hasKey $v "bidirectional" }}
bidirectional: {{ $v.bidirectional }} bidirectional: {{ $v.bidirectional }}
{{- end }} {{- end }}
{{- end }} {{- end }}
@@ -80,4 +80,4 @@ spec:
{{- end }} {{- end }}
{{- end }} {{- end }}
{{- end }} {{- end }}
{{- end }} {{- end }}
@@ -42,4 +42,4 @@ roleRef:
subjects: subjects:
- kind: ServiceAccount - kind: ServiceAccount
name: {{ include "netbird-operator-config.serviceAccountName" . }} name: {{ include "netbird-operator-config.serviceAccountName" . }}
namespace: {{ .Release.Namespace }} namespace: {{ .Release.Namespace }}
+1 -1
View File
@@ -54,4 +54,4 @@ kubernetesAPI:
serviceAccount: serviceAccount:
create: true create: true
name: "" name: ""
annotations: {} annotations: {}