From 02198367fdf704f70f1c0523f1c6b48459894dab Mon Sep 17 00:00:00 2001 From: Bhagirath Hapse Date: Tue, 26 Dec 2023 06:05:23 +0000 Subject: [PATCH 1/2] Trilio for kubernetes Operator --- stacks/triliovault-operator/deploy.sh | 2 +- stacks/triliovault-operator/triliovault-manager.yaml | 2 +- stacks/triliovault-operator/tvk_install_license.yaml | 2 +- stacks/triliovault-operator/uninstall.sh | 2 +- stacks/triliovault-operator/upgrade.sh | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/stacks/triliovault-operator/deploy.sh b/stacks/triliovault-operator/deploy.sh index 5a013f99..8421396a 100755 --- a/stacks/triliovault-operator/deploy.sh +++ b/stacks/triliovault-operator/deploy.sh @@ -17,7 +17,7 @@ CHART="triliovault-operator/k8s-triliovault-operator" LATEST="$(helm show chart triliovault-operator/k8s-triliovault-operator | grep appVersion | awk -F ':' '{gsub(/ /,""); print $2 }')" echo "Installing TVK version: $LATEST" CHART_VERSION=$LATEST -NAMESPACE="tvk" +NAMESPACE="trilio-system" INSTALL_TVM=true TVK_HOSTNAME="tvk.doks.com" TVK_INSTANCE_NAME="tvk-instance-digital-ocean" diff --git a/stacks/triliovault-operator/triliovault-manager.yaml b/stacks/triliovault-operator/triliovault-manager.yaml index c04b4859..b4af35d4 100644 --- a/stacks/triliovault-operator/triliovault-manager.yaml +++ b/stacks/triliovault-operator/triliovault-manager.yaml @@ -5,7 +5,7 @@ metadata: triliovault: triliovault name: triliovault-manager spec: - trilioVaultAppVersion: latest + trilioVaultAppVersion: 4.0.0 applicationScope: Cluster tvkInstanceName: tvk-instance-digital-ocean # TVK components configuration, currently supports control-plane, web, exporter, web-backend, ingress-controller, admission-webhook. diff --git a/stacks/triliovault-operator/tvk_install_license.yaml b/stacks/triliovault-operator/tvk_install_license.yaml index e230a85d..1b198e71 100644 --- a/stacks/triliovault-operator/tvk_install_license.yaml +++ b/stacks/triliovault-operator/tvk_install_license.yaml @@ -2,7 +2,7 @@ apiVersion: batch/v1 kind: Job metadata: name: tvk-license-do - namespace: tvk + namespace: trilio-system spec: backoffLimit: 0 completions: 1 diff --git a/stacks/triliovault-operator/uninstall.sh b/stacks/triliovault-operator/uninstall.sh index 2308da74..55590dcc 100755 --- a/stacks/triliovault-operator/uninstall.sh +++ b/stacks/triliovault-operator/uninstall.sh @@ -6,7 +6,7 @@ set -e # Delete TVK license, manage and operator chart ################################################################################ STACK="triliovault-operator" -NAMESPACE="tvk" +NAMESPACE="trilio-system" #ROOT_DIR=$(git rev-parse --show-toplevel) echo "Make sure that there are no backups in inprogress state" diff --git a/stacks/triliovault-operator/upgrade.sh b/stacks/triliovault-operator/upgrade.sh index ece1b15c..ad9b7d10 100755 --- a/stacks/triliovault-operator/upgrade.sh +++ b/stacks/triliovault-operator/upgrade.sh @@ -17,7 +17,7 @@ CHART="triliovault-operator/k8s-triliovault-operator" LATEST="$(helm show chart triliovault-operator/k8s-triliovault-operator | grep appVersion | awk -F ':' '{gsub(/ /,""); print $2 }')" echo "Upgrading TVK to latest version: $LATEST" CHART_VERSION=$LATEST -NAMESPACE="tvk" +NAMESPACE="trilio-system" # Upgrade triliovault operator echo "Upgrading Triliovault operator..." From 2e7052ffc734ebb253d2edb35d071739d8ab00c8 Mon Sep 17 00:00:00 2001 From: Bhagirath Hapse Date: Tue, 26 Dec 2023 06:14:32 +0000 Subject: [PATCH 2/2] Trilio for Kubernetes Operator --- stacks/triliovault-operator/triliovault-manager.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stacks/triliovault-operator/triliovault-manager.yaml b/stacks/triliovault-operator/triliovault-manager.yaml index b4af35d4..c04b4859 100644 --- a/stacks/triliovault-operator/triliovault-manager.yaml +++ b/stacks/triliovault-operator/triliovault-manager.yaml @@ -5,7 +5,7 @@ metadata: triliovault: triliovault name: triliovault-manager spec: - trilioVaultAppVersion: 4.0.0 + trilioVaultAppVersion: latest applicationScope: Cluster tvkInstanceName: tvk-instance-digital-ocean # TVK components configuration, currently supports control-plane, web, exporter, web-backend, ingress-controller, admission-webhook.