Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion charts/netbird-operator-config/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@ apiVersion: v2
name: netbird-operator-config
description: NetBird Operator Configuration
type: application
version: 0.1.0
version: 0.1.1
appVersion: "0.2.0"
Original file line number Diff line number Diff line change
Expand Up @@ -24,15 +24,15 @@ spec:
spec:
initContainers:
- name: wait-network-ready
image: "netbirdio/kubectl:latest"
image: {{ .Values.image.registry }}/{{ .Values.image.repository }}:{{ .Values.image.tag | default "latest" }}
command:
- sh
- -c
args:
- kubectl wait --for 'jsonpath={.status.networkID}' -n {{ $routerNS }} nbroutingpeer router;
containers:
- name: apply-nbresource
image: "netbirdio/kubectl:latest"
image: {{ .Values.image.registry }}/{{ .Values.image.repository }}:{{ .Values.image.tag | default "latest" }}
env:
- name: NBRESOURCE_VALUE
value: |
Expand Down
9 changes: 9 additions & 0 deletions charts/netbird-operator-config/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -55,3 +55,12 @@ serviceAccount:
create: true
name: ""
annotations: {}

# This sets the container image more information can be found here: https://kubernetes.io/docs/concepts/containers/images/
image:
# Set operator image registry
registry: docker.io
# Set operator image repository
repository: netbirdio/kubectl
# Overrides the image tag whose default is the chart appVersion.
tag: latest