Skip to content
Snippets Groups Projects
Commit f44a210d authored by Sagar Arora's avatar Sagar Arora :bicyclist_tone1:
Browse files

Clean the helm-charts and fix cls_physim

- added right pod selector in cls_physim
parent ff738b7b
No related branches found
No related tags found
No related merge requests found
Showing
with 39 additions and 139 deletions
......@@ -4,6 +4,9 @@ metadata:
name: {{ .Chart.Name }}
spec:
template:
metadata:
labels:
app: physim
spec:
securityContext:
{{- toYaml .Values.podSecurityContext | nindent 8 }}
......
......@@ -28,18 +28,6 @@ podSecurityContext:
securityContext:
privileged: false
# capabilities:
# add:
# - SYS_CAP_PTRACE
# drop:
# - ALL
# readOnlyRootFilesystem: true
# runAsNonRoot: true
# runAsUser: 1000
service:
type: ClusterIP
port: 80
resources: {}
# We usually recommend not to specify default resources and to leave this as a conscious
......
apiVersion: batch/v1
kind: Job
metadata:
name: {{ .Chart.Name }}
name: {{ .Chart.Name }}
spec:
template:
metadata:
labels:
app: physim
spec:
securityContext:
{{- toYaml .Values.podSecurityContext | nindent 8 }}
......@@ -15,13 +18,6 @@ spec:
- name: physim
image: "{{ .Values.global.image.repository }}:{{ .Values.global.image.version }}"
imagePullPolicy: {{ .Values.image.pullPolicy }}
# resources:
# requests:
# memory: "4096Mi"
# cpu: "4000m"
# limits:
# memory: "4096Mi"
# cpu: "4000m"
securityContext:
{{- toYaml .Values.securityContext | nindent 12 }}
env:
......@@ -35,5 +31,5 @@ spec:
dnsPolicy: ClusterFirst
restartPolicy: Never
schedulerName: default-scheduler
serviceAccountName: oai-physim-sa
serviceAccountName: {{ .Values.global.serviceAccountName }}
terminationGracePeriodSeconds: 30
......@@ -20,7 +20,7 @@ serviceAccount:
annotations: {}
# The name of the service account to use.
# If not set and create is true, a name is generated using the fullname template
name: "oai-physim-sa" #"oai-dlsim-basic"
name: "oai-dlsim-basic"
podSecurityContext:
runAsUser: 0
......@@ -28,26 +28,14 @@ podSecurityContext:
securityContext:
privileged: false
#capabilities:
# add:
# - SYS_CAP_PTRACE
# drop:
# - ALL
# readOnlyRootFilesystem: true
# runAsNonRoot: true
# runAsUser: 1000
service:
type: ClusterIP
port: 80
resources:
limits:
cpu: 100m
memory: 128Mi
requests:
cpu: 100m
memory: 128Mi
resources: {}
# limits:
# cpu: 100m
# memory: 128Mi
# requests:
# cpu: 100m
# memory: 128Mi
nodeSelector: {}
......
......@@ -4,6 +4,9 @@ metadata:
name: {{ .Chart.Name }}
spec:
template:
metadata:
labels:
app: physim
spec:
securityContext:
{{- toYaml .Values.podSecurityContext | nindent 8 }}
......
......@@ -28,18 +28,6 @@ podSecurityContext:
securityContext:
privileged: false
# capabilities:
# add:
# - SYS_CAP_PTRACE
# drop:
# - ALL
# readOnlyRootFilesystem: true
# runAsNonRoot: true
# runAsUser: 1000
service:
type: ClusterIP
port: 80
resources: {}
# We usually recommend not to specify default resources and to leave this as a conscious
......
......@@ -4,6 +4,9 @@ metadata:
name: {{ .Chart.Name }}
spec:
template:
metadata:
labels:
app: physim
spec:
securityContext:
{{- toYaml .Values.podSecurityContext | nindent 8 }}
......
......@@ -28,18 +28,6 @@ podSecurityContext:
securityContext:
privileged: false
# capabilities:
# add:
# - SYS_CAP_PTRACE
# drop:
# - ALL
# readOnlyRootFilesystem: true
# runAsNonRoot: true
# runAsUser: 1000
service:
type: ClusterIP
port: 80
resources: {}
# We usually recommend not to specify default resources and to leave this as a conscious
......
......@@ -4,6 +4,9 @@ metadata:
name: {{ .Chart.Name }}
spec:
template:
metadata:
labels:
app: physim
spec:
securityContext:
{{- toYaml .Values.podSecurityContext | nindent 8 }}
......
......@@ -28,18 +28,6 @@ podSecurityContext:
securityContext:
privileged: false
# capabilities:
# add:
# - SYS_CAP_PTRACE
# drop:
# - ALL
# readOnlyRootFilesystem: true
# runAsNonRoot: true
# runAsUser: 1000
service:
type: ClusterIP
port: 80
resources: {}
# We usually recommend not to specify default resources and to leave this as a conscious
......
......@@ -4,6 +4,9 @@ metadata:
name: {{ .Chart.Name }}
spec:
template:
metadata:
labels:
app: physim
spec:
securityContext:
{{- toYaml .Values.podSecurityContext | nindent 8 }}
......
......@@ -28,18 +28,6 @@ podSecurityContext:
securityContext:
privileged: false
# capabilities:
# add:
# - SYS_CAP_PTRACE
# drop:
# - ALL
# readOnlyRootFilesystem: true
# runAsNonRoot: true
# runAsUser: 1000
service:
type: ClusterIP
port: 80
resources: {}
# We usually recommend not to specify default resources and to leave this as a conscious
......
......@@ -4,6 +4,9 @@ metadata:
name: {{ .Chart.Name }}
spec:
template:
metadata:
labels:
app: physim
spec:
securityContext:
{{- toYaml .Values.podSecurityContext | nindent 8 }}
......
......@@ -28,18 +28,6 @@ podSecurityContext:
securityContext:
privileged: false
# capabilities:
# add:
# - SYS_CAP_PTRACE
# drop:
# - ALL
# readOnlyRootFilesystem: true
# runAsNonRoot: true
# runAsUser: 1000
service:
type: ClusterIP
port: 80
resources: {}
# We usually recommend not to specify default resources and to leave this as a conscious
......
......@@ -4,6 +4,9 @@ metadata:
name: {{ .Chart.Name }}
spec:
template:
metadata:
labels:
app: physim
spec:
securityContext:
{{- toYaml .Values.podSecurityContext | nindent 8 }}
......
......@@ -28,18 +28,6 @@ podSecurityContext:
securityContext:
privileged: false
# capabilities:
# add:
# - SYS_CAP_PTRACE
# drop:
# - ALL
# readOnlyRootFilesystem: true
# runAsNonRoot: true
# runAsUser: 1000
service:
type: ClusterIP
port: 80
resources: {}
# We usually recommend not to specify default resources and to leave this as a conscious
......
......@@ -6,7 +6,7 @@ spec:
template:
metadata:
labels:
{{- include "oai-nr-pbchsim-106rb.selectorLabels" . | nindent 8 }}
app: physim
spec:
securityContext:
{{- toYaml .Values.podSecurityContext | nindent 8 }}
......
......@@ -28,18 +28,6 @@ podSecurityContext:
securityContext:
privileged: false
# capabilities:
# add:
# - SYS_CAP_PTRACE
# drop:
# - ALL
# readOnlyRootFilesystem: true
# runAsNonRoot: true
# runAsUser: 1000
service:
type: ClusterIP
port: 80
resources: {}
# We usually recommend not to specify default resources and to leave this as a conscious
......
......@@ -4,6 +4,9 @@ metadata:
name: {{ .Chart.Name }}
spec:
template:
metadata:
labels:
app: physim
spec:
securityContext:
{{- toYaml .Values.podSecurityContext | nindent 8 }}
......
......@@ -28,18 +28,6 @@ podSecurityContext:
securityContext:
privileged: false
# capabilities:
# add:
# - SYS_CAP_PTRACE
# drop:
# - ALL
# readOnlyRootFilesystem: true
# runAsNonRoot: true
# runAsUser: 1000
service:
type: ClusterIP
port: 80
resources: {}
# We usually recommend not to specify default resources and to leave this as a conscious
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment