Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions reportportal/templates/service-api/api-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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}}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

format with nindent

args:
- "job-wr"
- {{ include "reportportal.fullname" . }}-migrations
Expand All @@ -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 }}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

format with nindent

ports:
- containerPort: 8585
protocol: TCP
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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}}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

format with nindent

args:
- "job-wr"
- {{ include "reportportal.fullname" . }}-migrations
Expand All @@ -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}}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

format with nindent

ports:
- containerPort: 9999
protocol: TCP
Expand Down
2 changes: 2 additions & 0 deletions reportportal/templates/service-index/index-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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}}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

format with nindent

env:
- name: K8S_MODE
value: "true"
Expand Down
4 changes: 4 additions & 0 deletions reportportal/templates/service-jobs/jobs-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@ spec:
- name: migrations-waiting-init
image: "{{ include "reportportal.image" (dict "Values" .Values "service" "k8sWaitFor") }}"
imagePullPolicy: IfNotPresent
securityContext:
{{ toYaml .Values.servicejobs.containerSecurityContext | indent 10}}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

format with nindent

args:
- "job-wr"
- {{ include "reportportal.fullname" . }}-migrations
Expand All @@ -45,6 +47,8 @@ spec:
- name: "{{ $.Values.servicejobs.name | default "jobs" }}"
image: "{{ include "reportportal.image" (dict "Values" .Values "service" "servicejobs") }}"
imagePullPolicy: "{{ .Values.servicejobs.pullPolicy }}"
securityContext:
{{ toYaml .Values.servicejobs.containerSecurityContext | indent 10}}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

format with nindent

ports:
- containerPort: 8686
protocol: TCP
Expand Down
2 changes: 2 additions & 0 deletions reportportal/templates/service-migrations/migrations-job.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,8 @@ spec:
{{- end }}
image: "{{ include "reportportal.image" (dict "Values" .Values "service" "migrations") }}"
imagePullPolicy: "{{ .Values.migrations.pullPolicy }}"
securityContext:
{{ toYaml .Values.migrations.containerSecurityContext | indent 10}}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

format with nindent

name: migrations
resources:
requests:
Expand Down
2 changes: 2 additions & 0 deletions reportportal/templates/service-ui/ui-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,8 @@ spec:
- name: {{ $.Values.serviceui.name | default "ui" }}
image: "{{ include "reportportal.image" (dict "Values" .Values "service" "serviceui") }}"
imagePullPolicy: "{{ .Values.serviceui.pullPolicy }}"
securityContext:
{{ toYaml .Values.serviceui.containerSecurityContext | indent 10}}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

format with nindent

env:
- name: RP_SERVER_PORT
value: "8080"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,8 @@ spec:
- name: migrations-waiting-init
image: "{{ include "reportportal.image" (dict "Values" .Values "service" "k8sWaitFor") }}"
imagePullPolicy: IfNotPresent
securityContext:
{{ toYaml .Values.serviceanalyzer.containerSecurityContext | indent 10}}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

format with nindent

args:
- "pod-wr"
- "-lcomponent={{ include "reportportal.fullname" . }}-api"
Expand All @@ -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}}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

format with nindent

ports:
- containerPort: 5001
name: analyzercore
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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}}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

format with nindent

args:
- "pod-wr"
- "-lcomponent={{ include "reportportal.fullname" . }}-api"
Expand All @@ -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}}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

format with nindent

ports:
- containerPort: 5001
name: analyzertrain
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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}}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

format with nindent

args:
- "pod-wr"
- "-lcomponent={{ include "reportportal.fullname" . }}-api"
Expand All @@ -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}}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

format with nindent

ports:
- containerPort: 5000
name: metricsgatherer
Expand Down
8 changes: 8 additions & 0 deletions reportportal/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ serviceindex:
podLabels: {}
podAnnotations: {}
securityContext: {}
containerSecurityContext: {}
serviceAccountName: ""
## @param serviceindex.nodeSelector define which Nodes the Pods are scheduled on.
## You can choose compute classes for GKE Autopilot Pods https://cloud.google.com/kubernetes-engine/docs/concepts/autopilot-compute-classes
Expand Down Expand Up @@ -67,6 +68,7 @@ serviceui:
podLabels: {}
podAnnotations: {}
securityContext: {}
containerSecurityContext: {}
## @param serviceui.nodeSelector define which Nodes the Pods are scheduled on.
## You can choose compute classes for GKE Autopilot Pods https://cloud.google.com/kubernetes-engine/docs/concepts/autopilot-compute-classes
## Use cloud.google.com/compute-class: "COMPUTE_CLASS" for specific GKE Autopilot compute class.
Expand Down Expand Up @@ -188,6 +190,7 @@ serviceapi:
podLabels: {}
podAnnotations: {}
securityContext: {}
containerSecurityContext: {}

## @param serviceapi.nodeSelector define which Nodes the Pods are scheduled on.
## You can choose compute classes for GKE Autopilot Pods https://cloud.google.com/kubernetes-engine/docs/concepts/autopilot-compute-classes
Expand Down Expand Up @@ -392,6 +395,7 @@ servicejobs:
podLabels: {}
podAnnotations: {}
securityContext: {}
containerSecurityContext: {}

## @param servicejobs.nodeSelector define which Nodes the Pods are scheduled on.
## You can choose compute classes for GKE Autopilot Pods https://cloud.google.com/kubernetes-engine/docs/concepts/autopilot-compute-classes
Expand Down Expand Up @@ -427,6 +431,7 @@ serviceanalyzer:
podLabels: {}
podAnnotations: {}
securityContext: {}
containerSecurityContext: {}

## @param serviceanalyzer.extraEnvs define the extra environment variables
##
Expand Down Expand Up @@ -469,6 +474,7 @@ serviceanalyzertrain:
podLabels: {}
podAnnotations: {}
securityContext: {}
containerSecurityContext: {}

## @param serviceanalyzertrain.extraEnvs define the extra environment variables
extraEnvs: []
Expand Down Expand Up @@ -518,6 +524,7 @@ metricsgatherer:
podLabels: {}
podAnnotations: {}
securityContext: {}
containerSecurityContext: {}

## @param metricsgatherer.extraEnvs define the extra environment variables
extraEnvs: []
Expand Down Expand Up @@ -558,6 +565,7 @@ migrations:
podLabels: {}
podAnnotations: {}
securityContext: {}
containerSecurityContext: {}

## @param migrations.nodeSelector define which Nodes the Pods are scheduled on.
## You can choose compute classes for GKE Autopilot Pods https://cloud.google.com/kubernetes-engine/docs/concepts/autopilot-compute-classes
Expand Down