* Sync a few files from fission-all to fission-core chart * Change values in fission-all chart We keep the following components by default disabled now, which were enabled by default earlier. 1. nats - Fission Nats integration 2. influxdb - Influxdb and logger component 3. prometheus - Prometheus disabled by default 4. canaryDeployment - Disabled by default This change reduces the need for a fission-core chart and we can configure values of fission-all so that it can provide the behaviour of fission-all as well as fission-core. * Remove fission-core chart * Add README in the fission-all chart * Rename clusterrolebinding fission-crd to fission-cr-admin * Add icon and sources in helm chart Signed-off-by: Sanket Sudake <sanketsudake@gmail.com>
52 lines
1.6 KiB
YAML
52 lines
1.6 KiB
YAML
{{- if .Values.azureStorageQueue.enabled }}
|
|
apiVersion: apps/v1
|
|
kind: Deployment
|
|
metadata:
|
|
name: mqtrigger-azure-storage-queue
|
|
labels:
|
|
chart: "{{ .Chart.Name }}-{{ .Chart.Version }}"
|
|
svc: mqtrigger
|
|
messagequeue: azure-storage-queue
|
|
spec:
|
|
replicas: 1
|
|
selector:
|
|
matchLabels:
|
|
svc: mqtrigger
|
|
messagequeue: azure-storage-queue
|
|
template:
|
|
metadata:
|
|
labels:
|
|
svc: mqtrigger
|
|
messagequeue: azure-storage-queue
|
|
spec:
|
|
containers:
|
|
- name: mqtrigger
|
|
{{- if eq .Values.imageTag "" }}
|
|
image: "{{ .Values.image }}"
|
|
{{- else }}
|
|
image: "{{ .Values.image }}:{{ .Values.imageTag }}"
|
|
{{- end }}
|
|
imagePullPolicy: {{ .Values.pullPolicy }}
|
|
command: ["/fission-bundle"]
|
|
args: ["--mqt", "--routerUrl", "http://router.{{ .Release.Namespace }}"]
|
|
env:
|
|
- name: MESSAGE_QUEUE_TYPE
|
|
value: azure-storage-queue
|
|
- name: AZURE_STORAGE_ACCOUNT_NAME
|
|
value: {{ required "An Azure storage account name is required." .Values.azureStorageQueue.accountName }}
|
|
- name: AZURE_STORAGE_ACCOUNT_KEY
|
|
valueFrom:
|
|
secretKeyRef:
|
|
name: azure-storage-account-key
|
|
key: key
|
|
- name: DEBUG_ENV
|
|
value: {{ .Values.debugEnv | quote }}
|
|
- name: PPROF_ENABLED
|
|
value: {{ .Values.pprof.enabled | quote }}
|
|
{{- include "opentracing.envs" . | indent 8 }}
|
|
{{- include "opentelemtry.envs" . | indent 8 }}
|
|
serviceAccountName: fission-svc
|
|
{{- if .Values.extraCoreComponentPodConfig }}
|
|
{{ toYaml .Values.extraCoreComponentPodConfig | indent 6 -}}
|
|
{{- end }}
|
|
{{- end }} |