mirror of
https://github.com/YuzuZensai/netbird-kubernetes-operator.git
synced 2026-09-13 10:49:15 +00:00
Bump kubernetes-operator chart appVersion to 0.2.1 (#100)
This commit is contained in:
@@ -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,7 +29,7 @@ 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;
|
||||||
@@ -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,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,15 +21,12 @@ 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;
|
||||||
@@ -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 -
|
||||||
|
|||||||
Reference in New Issue
Block a user