From 560aa34ce2b9e75723baec17d49ccdc7ac19d88d Mon Sep 17 00:00:00 2001 From: Ta-Ching Chen Date: Tue, 27 Aug 2019 14:12:51 +0800 Subject: [PATCH] Fix typo extraCoreComponmentPodConfig -> extraCoreComponentPodConfig (#1287) --- charts/README.md | 2 +- charts/fission-all/templates/deployment.yaml | 48 +++++++++---------- charts/fission-all/values.yaml | 4 +- charts/fission-core/templates/deployment.yaml | 28 +++++------ charts/fission-core/values.yaml | 4 +- 5 files changed, 43 insertions(+), 43 deletions(-) diff --git a/charts/README.md b/charts/README.md index 2c38f09b..511a8cbf 100644 --- a/charts/README.md +++ b/charts/README.md @@ -64,7 +64,7 @@ Parameter | Description | Default `debugEnv` | If there are any pod specialization errors when a function is triggered and this flag is set to true, the error summary is returned as part of http response | `true` `prometheusDeploy` | Set to true if prometheus needs to be deployed along with fission | `true` in `fission-all`, `false` in `fission-core` `canaryDeployment.enabled` | Set to true if you need canary deployment feature | `true` in `fission-all`, `false` in `fission-core` -`extraCoreComponmentPodConfig` | Extend the container specs for the core fission pods. Can be used to add things like affinty/tolerations/nodeSelectors/etc. | None +`extraCoreComponentPodConfig` | Extend the container specs for the core fission pods. Can be used to add things like affinty/tolerations/nodeSelectors/etc. | None `router.svcAddressMaxRetries` | Max retries times for router to retry on a certain service URL returns from cache/executor | `5` `router.svcAddressUpdateTimeout` | The length of update lock expiry time for router to get a service URL returns from executor | `30` `router.roundTrip.disableKeepAlive` | Disable transport keep-alive for fast switching function version | `true` diff --git a/charts/fission-all/templates/deployment.yaml b/charts/fission-all/templates/deployment.yaml index 7edd6992..fb1147cf 100644 --- a/charts/fission-all/templates/deployment.yaml +++ b/charts/fission-all/templates/deployment.yaml @@ -168,8 +168,8 @@ spec: - name: config-volume configMap: name: feature-config -{{- if .Values.extraCoreComponmentPodConfig }} -{{ toYaml .Values.extraCoreComponmentPodConfig | indent 6 -}} +{{- if .Values.extraCoreComponentPodConfig }} +{{ toYaml .Values.extraCoreComponentPodConfig | indent 6 -}} {{- end }} --- apiVersion: extensions/v1beta1 @@ -245,8 +245,8 @@ spec: - containerPort: 8888 name: http serviceAccount: fission-svc -{{- if .Values.extraCoreComponmentPodConfig }} -{{ toYaml .Values.extraCoreComponmentPodConfig | indent 6 -}} +{{- if .Values.extraCoreComponentPodConfig }} +{{ toYaml .Values.extraCoreComponentPodConfig | indent 6 -}} {{- end }} --- @@ -331,8 +331,8 @@ spec: - containerPort: 8888 name: http serviceAccount: fission-svc -{{- if .Values.extraCoreComponmentPodConfig }} -{{ toYaml .Values.extraCoreComponmentPodConfig | indent 6 -}} +{{- if .Values.extraCoreComponentPodConfig }} +{{ toYaml .Values.extraCoreComponentPodConfig | indent 6 -}} {{- end }} --- @@ -379,8 +379,8 @@ spec: - name: DEBUG_ENV value: {{ .Values.debugEnv | quote }} serviceAccount: fission-svc -{{- if .Values.extraCoreComponmentPodConfig }} -{{ toYaml .Values.extraCoreComponmentPodConfig | indent 6 -}} +{{- if .Values.extraCoreComponentPodConfig }} +{{ toYaml .Values.extraCoreComponentPodConfig | indent 6 -}} {{- end }} --- @@ -409,8 +409,8 @@ spec: - name: DEBUG_ENV value: {{ .Values.debugEnv | quote }} serviceAccount: fission-svc -{{- if .Values.extraCoreComponmentPodConfig }} -{{ toYaml .Values.extraCoreComponmentPodConfig | indent 6 -}} +{{- if .Values.extraCoreComponentPodConfig }} +{{ toYaml .Values.extraCoreComponentPodConfig | indent 6 -}} {{- end }} --- @@ -460,8 +460,8 @@ spec: secretKeyRef: name: influxdb key: password -{{- if .Values.extraCoreComponmentPodConfig }} -{{ toYaml .Values.extraCoreComponmentPodConfig | indent 6 -}} +{{- if .Values.extraCoreComponentPodConfig }} +{{ toYaml .Values.extraCoreComponentPodConfig | indent 6 -}} {{- end }} {{- if .Values.heapster }} @@ -531,8 +531,8 @@ spec: - name: DEBUG_ENV value: {{ .Values.debugEnv | quote }} serviceAccount: fission-svc -{{- if .Values.extraCoreComponmentPodConfig }} -{{ toYaml .Values.extraCoreComponmentPodConfig | indent 6 -}} +{{- if .Values.extraCoreComponentPodConfig }} +{{ toYaml .Values.extraCoreComponentPodConfig | indent 6 -}} {{- end }} # @@ -608,8 +608,8 @@ spec: port: 4223 initialDelaySeconds: 30 periodSeconds: 5 -{{- if .Values.extraCoreComponmentPodConfig }} -{{ toYaml .Values.extraCoreComponmentPodConfig | indent 6 -}} +{{- if .Values.extraCoreComponentPodConfig }} +{{ toYaml .Values.extraCoreComponentPodConfig | indent 6 -}} {{- end }} --- apiVersion: extensions/v1beta1 @@ -642,8 +642,8 @@ spec: - name: DEBUG_ENV value: {{ .Values.debugEnv | quote }} serviceAccount: fission-svc -{{- if .Values.extraCoreComponmentPodConfig }} -{{ toYaml .Values.extraCoreComponmentPodConfig | indent 6 -}} +{{- if .Values.extraCoreComponentPodConfig }} +{{ toYaml .Values.extraCoreComponentPodConfig | indent 6 -}} {{- end }} {{- end }} @@ -681,8 +681,8 @@ spec: - name: DEBUG_ENV value: {{ .Values.debugEnv | quote }} serviceAccount: fission-svc -{{- if .Values.extraCoreComponmentPodConfig }} -{{ toYaml .Values.extraCoreComponmentPodConfig | indent 6 -}} +{{- if .Values.extraCoreComponentPodConfig }} +{{ toYaml .Values.extraCoreComponentPodConfig | indent 6 -}} {{- end }} {{- end }} @@ -723,8 +723,8 @@ spec: - name: DEBUG_ENV value: {{ .Values.debugEnv | quote }} serviceAccount: fission-svc -{{- if .Values.extraCoreComponmentPodConfig }} -{{ toYaml .Values.extraCoreComponmentPodConfig | indent 6 -}} +{{- if .Values.extraCoreComponentPodConfig }} +{{ toYaml .Values.extraCoreComponentPodConfig | indent 6 -}} {{- end }} {{- end }} --- @@ -783,6 +783,6 @@ spec: {{- else }} emptyDir: {} {{- end }} -{{- if .Values.extraCoreComponmentPodConfig }} -{{ toYaml .Values.extraCoreComponmentPodConfig | indent 6 -}} +{{- if .Values.extraCoreComponentPodConfig }} +{{ toYaml .Values.extraCoreComponentPodConfig | indent 6 -}} {{- end }} diff --git a/charts/fission-all/values.yaml b/charts/fission-all/values.yaml index 6ccdfb62..b14fe90a 100644 --- a/charts/fission-all/values.yaml +++ b/charts/fission-all/values.yaml @@ -140,7 +140,7 @@ persistence: ## Extend the container specs for the core fission pods. ## Can be used to add things like affinty/tolerations/nodeSelectors/etc. ## For example: -## extraCoreComponmentPodConfig: +## extraCoreComponentPodConfig: ## affinity: ## nodeAffinity: ## requiredDuringSchedulingIgnoredDuringExecution: @@ -150,7 +150,7 @@ persistence: ## operator: In ## values: ## - app -extraCoreComponmentPodConfig: +extraCoreComponentPodConfig: # affinity: # tolerations: # nodeSelector: diff --git a/charts/fission-core/templates/deployment.yaml b/charts/fission-core/templates/deployment.yaml index 6a24c73a..9ff6b238 100644 --- a/charts/fission-core/templates/deployment.yaml +++ b/charts/fission-core/templates/deployment.yaml @@ -167,8 +167,8 @@ spec: - name: config-volume configMap: name: feature-config -{{- if .Values.extraCoreComponmentPodConfig }} -{{ toYaml .Values.extraCoreComponmentPodConfig | indent 6 -}} +{{- if .Values.extraCoreComponentPodConfig }} +{{ toYaml .Values.extraCoreComponentPodConfig | indent 6 -}} {{- end }} --- @@ -245,8 +245,8 @@ spec: - containerPort: 8888 name: http serviceAccount: fission-svc -{{- if .Values.extraCoreComponmentPodConfig }} -{{ toYaml .Values.extraCoreComponmentPodConfig | indent 6 -}} +{{- if .Values.extraCoreComponentPodConfig }} +{{ toYaml .Values.extraCoreComponentPodConfig | indent 6 -}} {{- end }} --- @@ -327,8 +327,8 @@ spec: - containerPort: 8888 name: http serviceAccount: fission-svc -{{- if .Values.extraCoreComponmentPodConfig }} -{{ toYaml .Values.extraCoreComponmentPodConfig | indent 6 -}} +{{- if .Values.extraCoreComponentPodConfig }} +{{ toYaml .Values.extraCoreComponentPodConfig | indent 6 -}} {{- end }} --- @@ -373,8 +373,8 @@ spec: - name: FETCHER_MAXMEM value: {{ .Values.fetcherMaxMem | default "128Mi" | quote }} serviceAccount: fission-svc -{{- if .Values.extraCoreComponmentPodConfig }} -{{ toYaml .Values.extraCoreComponmentPodConfig | indent 6 -}} +{{- if .Values.extraCoreComponentPodConfig }} +{{ toYaml .Values.extraCoreComponentPodConfig | indent 6 -}} {{- end }} --- @@ -401,8 +401,8 @@ spec: - name: TRACING_SAMPLING_RATE value: {{ .Values.traceSamplingRate | default "0.5" | quote }} serviceAccount: fission-svc -{{- if .Values.extraCoreComponmentPodConfig }} -{{ toYaml .Values.extraCoreComponmentPodConfig | indent 6 -}} +{{- if .Values.extraCoreComponentPodConfig }} +{{ toYaml .Values.extraCoreComponentPodConfig | indent 6 -}} {{- end }} --- @@ -429,8 +429,8 @@ spec: - name: TRACING_SAMPLING_RATE value: {{ .Values.traceSamplingRate | default "0.5" | quote }} serviceAccount: fission-svc -{{- if .Values.extraCoreComponmentPodConfig }} -{{ toYaml .Values.extraCoreComponmentPodConfig | indent 6 -}} +{{- if .Values.extraCoreComponentPodConfig }} +{{ toYaml .Values.extraCoreComponentPodConfig | indent 6 -}} {{- end }} --- @@ -474,6 +474,6 @@ spec: {{- else }} emptyDir: {} {{- end }} -{{- if .Values.extraCoreComponmentPodConfig }} -{{ toYaml .Values.extraCoreComponmentPodConfig | indent 6 -}} +{{- if .Values.extraCoreComponentPodConfig }} +{{ toYaml .Values.extraCoreComponentPodConfig | indent 6 -}} {{- end }} diff --git a/charts/fission-core/values.yaml b/charts/fission-core/values.yaml index f9a34a3a..ec58abb0 100644 --- a/charts/fission-core/values.yaml +++ b/charts/fission-core/values.yaml @@ -102,7 +102,7 @@ persistence: ## Extend the container specs for the core fission pods. ## Can be used to add things like affinty/tolerations/nodeSelectors/etc. ## For example: -## extraCoreComponmentPodConfig: +## extraCoreComponentPodConfig: ## affinity: ## nodeAffinity: ## requiredDuringSchedulingIgnoredDuringExecution: @@ -112,7 +112,7 @@ persistence: ## operator: In ## values: ## - app -extraCoreComponmentPodConfig: +extraCoreComponentPodConfig: # affinity: # tolerations: # nodeSelector: