Jelajahi Sumber

Refactor ix-chart to conform to helm best practices

Waqar Ahmed 4 tahun lalu
induk
melakukan
057ab72ff0

+ 0 - 0
charts/ix-chart/v2009.0.1/.helmignore → charts/ix-chart/2009.0.1/.helmignore


+ 0 - 0
charts/ix-chart/v2009.0.1/Chart.yaml → charts/ix-chart/2009.0.1/Chart.yaml


+ 0 - 0
charts/ix-chart/v2009.0.1/README.md → charts/ix-chart/2009.0.1/README.md


+ 0 - 0
charts/ix-chart/v2009.0.1/app-readme.md → charts/ix-chart/2009.0.1/app-readme.md


+ 5 - 5
charts/ix-chart/v2009.0.1/questions.yaml → charts/ix-chart/2009.0.1/questions.yaml

@@ -20,7 +20,7 @@
         schema:
           type: string
           default: "latest"
-      - variable: pull_policy
+      - variable: pullPolicy
         description: "Docker Image Pull Policy"
         label: "Image Pull Policy"
         group: "Container Images"
@@ -33,7 +33,7 @@
             - "Never"
 
 # Configurable CMD / Entrypoint / Environment Variables
-- variable: container_command
+- variable: containerCommand
   description: "Commands to execute inside container overriding image CMD default"
   label: "Container CMD"
   group: "Container Entrypoint"
@@ -45,7 +45,7 @@
         label: "Command"
         schema:
           type: string
-- variable: container_args
+- variable: containerArgs
   description: "Specify arguments for container command"
   label: "Container Args"
   group: "Container Entrypoint"
@@ -57,14 +57,14 @@
         label: "Arg"
         schema:
           type: string
-- variable: container_environment_variables
+- variable: containerEnvironmentVariables
   description: "Container Environment Variables"
   label: "Container Environment Variables"
   group: "Container Entrypoint"
   schema:
     type: list
     items:
-      - variable: environment_variable
+      - variable: environmentVariable
         description: "Container Environment Variable"
         label: "Container Environment Variable"
         schema:

+ 0 - 0
charts/ix-chart/v2009.0.1/templates/NOTES.txt → charts/ix-chart/2009.0.1/templates/NOTES.txt


+ 0 - 0
charts/ix-chart/v2009.0.1/templates/_helpers.tpl → charts/ix-chart/2009.0.1/templates/_helpers.tpl


+ 7 - 7
charts/ix-chart/v2009.0.1/templates/deployment.yaml → charts/ix-chart/2009.0.1/templates/deployment.yaml

@@ -18,22 +18,22 @@ spec:
           securityContext:
             {{- toYaml .Values.securityContext | nindent 12 }}
           image: "{{ .Values.image.repository }}:{{ .Values.image.tag | default "latest" }}"
-          imagePullPolicy: {{ .Values.image.pull_policy }}
-          {{- if .Values.container_command }}
+          imagePullPolicy: {{ .Values.image.pullPolicy }}
+          {{- if .Values.containerCommand }}
           command:
-            {{- range .Values.container_command }}
+            {{- range .Values.containerCommand }}
             - {{ . | quote}}
             {{- end }}
           {{- end }}
-          {{- if .Values.container_args }}
+          {{- if .Values.containerArgs }}
           args:
-            {{- range .Values.container_args }}
+            {{- range .Values.containerArgs }}
             - {{ . | quote}}
             {{- end }}
           {{- end }}
-          {{- if .Values.container_environment_variables }}
+          {{- if .Values.containerEnvironmentVariables }}
           env:
-            {{- range .Values.container_environment_variables }}
+            {{- range .Values.containerEnvironmentVariables }}
             - name: {{ .name | quote }}
               value: {{ .value | quote }}
             {{- end }}

+ 4 - 4
charts/ix-chart/v2009.0.1/values.yaml → charts/ix-chart/2009.0.1/values.yaml

@@ -2,11 +2,11 @@
 
 image:
   repository: debian
-  pull_policy: IfNotPresent
+  pullPolicy: IfNotPresent
   # Overrides the image tag whose default is the chart appVersion.
   tag: "testing"
 
 # Container CMD / entrypoint
-container_command: []
-container_args: []
-container_environment_variables: []
+containerCommand: []
+containerArgs: []
+containerEnvironmentVariables: []