From 722939b7b25606e9e7a4a7e802b35201e8c207d7 Mon Sep 17 00:00:00 2001 From: Bruno Salzano Date: Thu, 19 Jun 2025 07:57:10 +0200 Subject: [PATCH 1/2] chore: removed tolerations removed tolerations used for testing purpose and left there by mistake --- config/opsfile.yml | 2 -- 1 file changed, 2 deletions(-) diff --git a/config/opsfile.yml b/config/opsfile.yml index a2eae52a..e30163e7 100644 --- a/config/opsfile.yml +++ b/config/opsfile.yml @@ -1135,8 +1135,6 @@ tasks: config OPERATOR_COMPONENT_POSTGRES=true config OPERATOR_COMPONENT_ETCD=true config OPERATOR_COMPONENT_MILVUS=true - config OPERATOR_CONFIG_AFFINITY=true - config OPERATOR_CONFIG_TOLERATIONS=true config ETCD_CONFIG_REPLICAS=1 config POSTGRES_CONFIG_REPLICAS=1 config OPERATOR_CONFIG_SLIM=true From 8768e673162e359d18ff970ba8545ee26b7ae2c5 Mon Sep 17 00:00:00 2001 From: Bruno Salzano Date: Sun, 22 Jun 2025 10:59:53 +0200 Subject: [PATCH 2/2] chore: updated operator to 0.1.0-incubating.2506220931 this release address the issue https://github.com/apache/openserverless/issues/141 --- opsroot.json | 2 +- setup/kubernetes/crds/whisk-crd.yaml | 9 +++++++++ setup/kubernetes/whisk.yaml | 4 +++- 3 files changed, 13 insertions(+), 2 deletions(-) diff --git a/opsroot.json b/opsroot.json index 3a06e326..0dcf6804 100644 --- a/opsroot.json +++ b/opsroot.json @@ -5,7 +5,7 @@ "coreutils": "arch b2sum b3sum base32 basename basenc cat chgrp chmod chown chroot cksum comm cp csplit cut date dd df dir dircolors dirname du env expand expr factor fmt fold groups hashsum head hostid hostname id install join kill link ln logname ls md5sum mkdir mkfifo mknod mktemp more mv nice nl nohup nproc numfmt od paste pathchk pinky pr printenv printf ptx pwd readlink realpath rm rmdir seq sha1sum sha224sum sha256sum sha3-224sum sha3-256sum sha3-384sum sha3-512sum sha384sum sha3sum sha512sum shake128sum shake256sum shred shuf sleep sort split stat stdbuf stty sum sync tac tail tee timeout touch tr truncate tsort tty uname unexpand uniq unlink uptime users vdir wc who whoami yes" }, "images": { - "operator": "apache/openserverless-operator:0.1.0-incubating.2506170946", + "operator": "apache/openserverless-operator:0.1.0-incubating.2506220931", "controller": "ghcr.io/nuvolaris/openwhisk-controller:3.1.0-mastrogpt.2402101445", "invoker": "ghcr.io/nuvolaris/openwhisk-invoker:3.1.0-mastrogpt.2402101445" } diff --git a/setup/kubernetes/crds/whisk-crd.yaml b/setup/kubernetes/crds/whisk-crd.yaml index 9347417b..30ac99be 100644 --- a/setup/kubernetes/crds/whisk-crd.yaml +++ b/setup/kubernetes/crds/whisk-crd.yaml @@ -86,6 +86,15 @@ spec: slim: description: boolean flag to enable/disable nuvolaris slim mode. Defaulted to false type: boolean + preload: + description: used to preload some default actions in the nuvolaris namespace. Defaulted to false + type: object + properties: + only-apache: + description: boolean flag to preload only the apache openserverless actions + type: boolean + required: + - only-apache required: - password components: diff --git a/setup/kubernetes/whisk.yaml b/setup/kubernetes/whisk.yaml index fadd1024..34015556 100644 --- a/setup/kubernetes/whisk.yaml +++ b/setup/kubernetes/whisk.yaml @@ -30,7 +30,9 @@ spec: protocol: ${OPERATOR_CONFIG_HOSTPROTOCOL:-auto} slim: ${OPERATOR_CONFIG_SLIM:-false} affinity: ${OPERATOR_CONFIG_AFFINITY:-false} - tolerations: ${OPERATOR_CONFIG_TOLERATIONS:-false} + tolerations: ${OPERATOR_CONFIG_TOLERATIONS:-false} + preload: + only-apache: ${OPERATOR_CONFIG_PRELOAD_ONLY_APACHE:-true} components: # start openwhisk controller openwhisk: true