瀏覽代碼

Do not allow image variables to be configurable for ipfs chart

Waqar Ahmed 4 年之前
父節點
當前提交
9a3e7ca691
共有 4 個文件被更改,包括 6 次插入38 次删除
  1. 1 1
      test/ipfs/1.0.2/Chart.yaml
  2. 4 0
      test/ipfs/1.0.2/ix_values.yaml
  3. 0 36
      test/ipfs/1.0.2/questions.yaml
  4. 1 1
      test/ipfs/1.0.2/test_values.yaml

+ 1 - 1
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

+ 4 - 0
test/ipfs/1.0.2/ix_values.yaml

@@ -0,0 +1,4 @@
+image:
+  repository: ipfs/go-ipfs
+  tag: v0.8.0
+  pullPolicy: IfNotPresent

+ 0 - 36
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"

+ 1 - 1
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