mirror of
https://github.com/kubeshark/kubeshark.git
synced 2025-08-09 12:29:17 +00:00
🐛 Fix the imagePullPolicy
to imagepullpolicy
in helm-chart
command
This commit is contained in:
parent
26c9f42eba
commit
2563cc1922
@ -145,7 +145,7 @@ var hubPodMappings = map[string]interface{}{
|
|||||||
},
|
},
|
||||||
},
|
},
|
||||||
"spec.containers[0].image": "{{ .Values.tap.docker.registry }}/hub:{{ .Values.tap.docker.tag }}",
|
"spec.containers[0].image": "{{ .Values.tap.docker.registry }}/hub:{{ .Values.tap.docker.tag }}",
|
||||||
"spec.containers[0].imagePullPolicy": "{{ .Values.tap.docker.imagePullPolicy }}",
|
"spec.containers[0].imagePullPolicy": "{{ .Values.tap.docker.imagepullpolicy }}",
|
||||||
"spec.containers[0].resources.limits.cpu": "{{ .Values.tap.resources.hub.limits.cpu }}",
|
"spec.containers[0].resources.limits.cpu": "{{ .Values.tap.resources.hub.limits.cpu }}",
|
||||||
"spec.containers[0].resources.limits.memory": "{{ .Values.tap.resources.hub.limits.memory }}",
|
"spec.containers[0].resources.limits.memory": "{{ .Values.tap.resources.hub.limits.memory }}",
|
||||||
"spec.containers[0].resources.requests.cpu": "{{ .Values.tap.resources.hub.requests.cpu }}",
|
"spec.containers[0].resources.requests.cpu": "{{ .Values.tap.resources.hub.requests.cpu }}",
|
||||||
@ -156,7 +156,7 @@ var hubServiceMappings = serviceAccountMappings
|
|||||||
var frontPodMappings = map[string]interface{}{
|
var frontPodMappings = map[string]interface{}{
|
||||||
"metadata.namespace": "{{ .Values.tap.selfnamespace }}",
|
"metadata.namespace": "{{ .Values.tap.selfnamespace }}",
|
||||||
"spec.containers[0].image": "{{ .Values.tap.docker.registry }}/front:{{ .Values.tap.docker.tag }}",
|
"spec.containers[0].image": "{{ .Values.tap.docker.registry }}/front:{{ .Values.tap.docker.tag }}",
|
||||||
"spec.containers[0].imagePullPolicy": "{{ .Values.tap.docker.imagePullPolicy }}",
|
"spec.containers[0].imagePullPolicy": "{{ .Values.tap.docker.imagepullpolicy }}",
|
||||||
}
|
}
|
||||||
var frontServiceMappings = serviceAccountMappings
|
var frontServiceMappings = serviceAccountMappings
|
||||||
var persistentVolumeMappings = map[string]interface{}{
|
var persistentVolumeMappings = map[string]interface{}{
|
||||||
@ -167,7 +167,7 @@ var persistentVolumeMappings = map[string]interface{}{
|
|||||||
var workerDaemonSetMappings = map[string]interface{}{
|
var workerDaemonSetMappings = map[string]interface{}{
|
||||||
"metadata.namespace": "{{ .Values.tap.selfnamespace }}",
|
"metadata.namespace": "{{ .Values.tap.selfnamespace }}",
|
||||||
"spec.template.spec.containers[0].image": "{{ .Values.tap.docker.registry }}/worker:{{ .Values.tap.docker.tag }}",
|
"spec.template.spec.containers[0].image": "{{ .Values.tap.docker.registry }}/worker:{{ .Values.tap.docker.tag }}",
|
||||||
"spec.template.spec.containers[0].imagePullPolicy": "{{ .Values.tap.docker.imagePullPolicy }}",
|
"spec.template.spec.containers[0].imagePullPolicy": "{{ .Values.tap.docker.imagepullpolicy }}",
|
||||||
"spec.template.spec.containers[0].resources.limits.cpu": "{{ .Values.tap.resources.worker.limits.cpu }}",
|
"spec.template.spec.containers[0].resources.limits.cpu": "{{ .Values.tap.resources.worker.limits.cpu }}",
|
||||||
"spec.template.spec.containers[0].resources.limits.memory": "{{ .Values.tap.resources.worker.limits.memory }}",
|
"spec.template.spec.containers[0].resources.limits.memory": "{{ .Values.tap.resources.worker.limits.memory }}",
|
||||||
"spec.template.spec.containers[0].resources.requests.cpu": "{{ .Values.tap.resources.worker.requests.cpu }}",
|
"spec.template.spec.containers[0].resources.requests.cpu": "{{ .Values.tap.resources.worker.requests.cpu }}",
|
||||||
|
@ -26,7 +26,7 @@ spec:
|
|||||||
- name: SCRIPTING_SCRIPTS
|
- name: SCRIPTING_SCRIPTS
|
||||||
value: '[]'
|
value: '[]'
|
||||||
image: '{{ .Values.tap.docker.registry }}/hub:{{ .Values.tap.docker.tag }}'
|
image: '{{ .Values.tap.docker.registry }}/hub:{{ .Values.tap.docker.tag }}'
|
||||||
imagePullPolicy: '{{ .Values.tap.docker.imagePullPolicy }}'
|
imagePullPolicy: '{{ .Values.tap.docker.imagepullpolicy }}'
|
||||||
name: kubeshark-hub
|
name: kubeshark-hub
|
||||||
resources:
|
resources:
|
||||||
limits:
|
limits:
|
||||||
|
@ -20,7 +20,7 @@ spec:
|
|||||||
- name: REACT_APP_HUB_PORT
|
- name: REACT_APP_HUB_PORT
|
||||||
value: "8898"
|
value: "8898"
|
||||||
image: '{{ .Values.tap.docker.registry }}/front:{{ .Values.tap.docker.tag }}'
|
image: '{{ .Values.tap.docker.registry }}/front:{{ .Values.tap.docker.tag }}'
|
||||||
imagePullPolicy: '{{ .Values.tap.docker.imagePullPolicy }}'
|
imagePullPolicy: '{{ .Values.tap.docker.imagepullpolicy }}'
|
||||||
name: kubeshark-front
|
name: kubeshark-front
|
||||||
readinessProbe:
|
readinessProbe:
|
||||||
failureThreshold: 3
|
failureThreshold: 3
|
||||||
|
@ -40,7 +40,7 @@ spec:
|
|||||||
- -procfs
|
- -procfs
|
||||||
- /hostproc
|
- /hostproc
|
||||||
image: '{{ .Values.tap.docker.registry }}/worker:{{ .Values.tap.docker.tag }}'
|
image: '{{ .Values.tap.docker.registry }}/worker:{{ .Values.tap.docker.tag }}'
|
||||||
imagePullPolicy: '{{ .Values.tap.docker.imagePullPolicy }}'
|
imagePullPolicy: '{{ .Values.tap.docker.imagepullpolicy }}'
|
||||||
name: kubeshark-worker-daemon-set
|
name: kubeshark-worker-daemon-set
|
||||||
resources:
|
resources:
|
||||||
limits:
|
limits:
|
||||||
|
Loading…
Reference in New Issue
Block a user