-
Notifications
You must be signed in to change notification settings - Fork 192
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Added Security Context at Container Level #431
base: develop
Are you sure you want to change the base?
Conversation
added Security Context at container level
@@ -39,6 +39,8 @@ spec: | |||
- name: migrations-waiting-init | |||
image: "{{ include "reportportal.image" (dict "Values" .Values "service" "k8sWaitFor") }}" | |||
imagePullPolicy: IfNotPresent | |||
securityContext: | |||
{{ toYaml .Values.serviceapi.containerSecurityContext | indent 12}} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
format with nindent
@@ -56,6 +58,8 @@ spec: | |||
- name: "{{ $.Values.serviceapi.name | default "api" }}" | |||
image: "{{ include "reportportal.image" (dict "Values" .Values "service" "serviceapi") }}" | |||
imagePullPolicy: "{{ .Values.serviceapi.pullPolicy }}" | |||
securityContext: | |||
{{ toYaml .Values.serviceapi.containerSecurityContext | indent 12 }} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
format with nindent
@@ -40,6 +40,8 @@ spec: | |||
- name: migrations-waiting-init | |||
image: "{{ include "reportportal.image" (dict "Values" .Values "service" "k8sWaitFor") }}" | |||
imagePullPolicy: IfNotPresent | |||
securityContext: | |||
{{ toYaml .Values.uat.containerSecurityContext | indent 12}} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
format with nindent
@@ -57,6 +59,8 @@ spec: | |||
- name: "{{ $.Values.uat.name | default "uat" }}" | |||
image: "{{ include "reportportal.image" (dict "Values" .Values "service" "uat") }}" | |||
imagePullPolicy: "{{ .Values.uat.pullPolicy }}" | |||
securityContext: | |||
{{ toYaml .Values.uat.containerSecurityContext | indent 12}} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
format with nindent
@@ -35,6 +35,8 @@ spec: | |||
- name: {{ $.Values.serviceindex.name | default "index" }} | |||
image: "{{ include "reportportal.image" (dict "Values" .Values "service" "serviceindex") }}" | |||
imagePullPolicy: "{{ .Values.serviceindex.pullPolicy }}" | |||
securityContext: | |||
{{ toYaml .Values.serviceindex.containerSecurityContext | indent 10}} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
format with nindent
@@ -46,6 +48,8 @@ spec: | |||
- name: "{{ $.Values.serviceanalyzer.name | default "analyzer" }}" | |||
image: "{{ include "reportportal.image" (dict "Values" .Values "service" "serviceanalyzer") }}" | |||
imagePullPolicy: "{{ .Values.serviceanalyzer.pullPolicy }}" | |||
securityContext: | |||
{{ toYaml .Values.serviceanalyzer.containerSecurityContext | indent 10}} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
format with nindent
@@ -29,6 +29,8 @@ spec: | |||
- name: migrations-waiting-init | |||
image: "{{ include "reportportal.image" (dict "Values" .Values "service" "k8sWaitFor") }}" | |||
imagePullPolicy: IfNotPresent | |||
securityContext: | |||
{{ toYaml .Values.serviceanalyzertrain.containerSecurityContext | indent 10}} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
format with nindent
@@ -46,6 +48,8 @@ spec: | |||
- name: "{{ $.Values.serviceanalyzertrain.name | default "analyzer-train" }}" | |||
image: "{{ include "reportportal.image" (dict "Values" .Values "service" "serviceanalyzer") }}" | |||
imagePullPolicy: "{{ .Values.serviceanalyzertrain.pullPolicy }}" | |||
securityContext: | |||
{{ toYaml .Values.serviceanalyzertrain.containerSecurityContext | indent 10}} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
format with nindent
@@ -28,6 +28,8 @@ spec: | |||
- name: migrations-waiting-init | |||
image: "{{ include "reportportal.image" (dict "Values" .Values "service" "k8sWaitFor") }}" | |||
imagePullPolicy: IfNotPresent | |||
securityContext: | |||
{{ toYaml .Values.metricsgatherer.containerSecurityContext | indent 10}} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
format with nindent
@@ -45,6 +47,8 @@ spec: | |||
- name: metrics-gatherer | |||
image: "{{ include "reportportal.image" (dict "Values" .Values "service" "metricsgatherer") }}" | |||
imagePullPolicy: "{{ .Values.metricsgatherer.pullPolicy }}" | |||
securityContext: | |||
{{ toYaml .Values.metricsgatherer.containerSecurityContext | indent 10}} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
format with nindent
Please change the indentation to nindent for a more human-readable format in the templates
@babantax please reformat the text using |
No description provided.