Merge pull request #605 from thomasferrandiz/fix-chart-and-source

Fix chart and source command in scripts
This commit is contained in:
Marcelo Guerrero Viveros 2025-04-24 18:46:35 +02:00 committed by GitHub
commit bccf0baae1
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
6 changed files with 9 additions and 4 deletions

View File

@ -1,3 +1,4 @@
# Dont'forget to update doc/crds/daemonset-install.yaml as well
apiVersion: apps/v1 apiVersion: apps/v1
kind: DaemonSet kind: DaemonSet
metadata: metadata:
@ -39,8 +40,9 @@ spec:
command: [ "/bin/sh" ] command: [ "/bin/sh" ]
args: args:
- -c - -c
- > - |
SLEEP=false /install-cni.sh && SLEEP=false source /install-cni.sh
/token-watcher.sh &
/ip-control-loop -log-level debug /ip-control-loop -log-level debug
env: env:
- name: NODENAME - name: NODENAME

View File

@ -1,3 +1,4 @@
# Dont'forget to update doc/crds/node-slice-controller.yaml as well
{{- if .Values.nodeSliceController.enabled }} {{- if .Values.nodeSliceController.enabled }}
apiVersion: apps/v1 apiVersion: apps/v1
kind: Deployment kind: Deployment

View File

@ -1,3 +1,4 @@
# Dont'forget to update deployment/whereabouts-chart/templates/daemonset.yaml as well
apiVersion: v1 apiVersion: v1
kind: ServiceAccount kind: ServiceAccount
metadata: metadata:

View File

@ -1,3 +1,4 @@
# Dont'forget to update deployment/whereabouts-chart/templates/node-slice-controller.yaml as well
apiVersion: apps/v1 apiVersion: apps/v1
kind: Deployment kind: Deployment
metadata: metadata:

View File

@ -10,7 +10,7 @@ set -u -e
# #
#SPDX-License-Identifier: Apache-2.0 #SPDX-License-Identifier: Apache-2.0
source lib.sh source /lib.sh
# Setup our logging routines # Setup our logging routines

View File

@ -2,7 +2,7 @@
set -u -e set -u -e
source lib.sh source /lib.sh
echo "Sleep and Watching for service account token and CA file changes..." echo "Sleep and Watching for service account token and CA file changes..."
# enter sleep/watch loop # enter sleep/watch loop