From 9a3e7ca69120df558be458c6adcf6441964d4c13 Mon Sep 17 00:00:00 2001 From: Waqar Ahmed Date: Fri, 19 Feb 2021 13:30:20 +0500 Subject: [PATCH] Do not allow image variables to be configurable for ipfs chart --- test/ipfs/1.0.2/Chart.yaml | 2 +- test/ipfs/1.0.2/ix_values.yaml | 4 ++++ test/ipfs/1.0.2/questions.yaml | 36 -------------------------------- test/ipfs/1.0.2/test_values.yaml | 2 +- 4 files changed, 6 insertions(+), 38 deletions(-) create mode 100644 test/ipfs/1.0.2/ix_values.yaml diff --git a/test/ipfs/1.0.2/Chart.yaml b/test/ipfs/1.0.2/Chart.yaml index c59514ad66..db7566b469 100644 --- a/test/ipfs/1.0.2/Chart.yaml +++ b/test/ipfs/1.0.2/Chart.yaml @@ -2,7 +2,7 @@ apiVersion: v1 description: Global, Versioned, peer-to-peer filesystem. name: ipfs version: 1.0.2 -appVersion: master +appVersion: v0.8.0 keywords: - storage - p2p diff --git a/test/ipfs/1.0.2/ix_values.yaml b/test/ipfs/1.0.2/ix_values.yaml new file mode 100644 index 0000000000..a41f18a171 --- /dev/null +++ b/test/ipfs/1.0.2/ix_values.yaml @@ -0,0 +1,4 @@ +image: + repository: ipfs/go-ipfs + tag: v0.8.0 + pullPolicy: IfNotPresent diff --git a/test/ipfs/1.0.2/questions.yaml b/test/ipfs/1.0.2/questions.yaml index b6fe95c464..7e3346a820 100644 --- a/test/ipfs/1.0.2/questions.yaml +++ b/test/ipfs/1.0.2/questions.yaml @@ -19,42 +19,6 @@ portals: path: "/webui" questions: - # Image related - - variable: image - description: "Docker Image Details" - label: "Docker Image" - group: "Container Images" - schema: - type: dict - required: true - attrs: - - variable: repository - description: "Docker image repository" - label: "Image repository" - schema: - type: string - default: "ipfs/go-ipfs" - required: true - - variable: tag - description: "Tag to use for specified image" - label: "Image Tag" - schema: - type: string - default: "v0.8.0-rc1" - - variable: pullPolicy - description: "Docker Image Pull Policy" - label: "Image Pull Policy" - schema: - type: string - default: "IfNotPresent" - enum: - - value: "IfNotPresent" - description: "Only pull image if not present on host" - - value: "Always" - description: "Always pull image even if present on host" - - value: "Never" - description: "Never pull image even if it's not present on host" - - variable: updateStrategy label: "IPFS update strategy" group: "Workload Configuration" diff --git a/test/ipfs/1.0.2/test_values.yaml b/test/ipfs/1.0.2/test_values.yaml index 65b840021f..a0ada7d3dd 100644 --- a/test/ipfs/1.0.2/test_values.yaml +++ b/test/ipfs/1.0.2/test_values.yaml @@ -2,7 +2,7 @@ ## image: repository: ipfs/go-ipfs - tag: v0.8.0-rc1 + tag: v0.8.0 pullPolicy: IfNotPresent ## Additional arguments to pass to minio binary