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: ...@@ -4,6 +4,9 @@ metadata:
name: {{ .Chart.Name }} name: {{ .Chart.Name }}
spec: spec:
template: template:
metadata:
labels:
app: physim
spec: spec:
securityContext: securityContext:
{{- toYaml .Values.podSecurityContext | nindent 8 }} {{- toYaml .Values.podSecurityContext | nindent 8 }}
......
...@@ -28,18 +28,6 @@ podSecurityContext: ...@@ -28,18 +28,6 @@ podSecurityContext:
securityContext: securityContext:
privileged: false privileged: false
# capabilities:
# add:
# - SYS_CAP_PTRACE
# drop:
# - ALL
# readOnlyRootFilesystem: true
# runAsNonRoot: true
# runAsUser: 1000
service:
type: ClusterIP
port: 80
resources: {} resources: {}
# We usually recommend not to specify default resources and to leave this as a conscious # We usually recommend not to specify default resources and to leave this as a conscious
......
apiVersion: batch/v1 apiVersion: batch/v1
kind: Job kind: Job
metadata: metadata:
name: {{ .Chart.Name }} name: {{ .Chart.Name }}
spec: spec:
template: template:
metadata:
labels:
app: physim
spec: spec:
securityContext: securityContext:
{{- toYaml .Values.podSecurityContext | nindent 8 }} {{- toYaml .Values.podSecurityContext | nindent 8 }}
...@@ -15,13 +18,6 @@ spec: ...@@ -15,13 +18,6 @@ spec:
- name: physim - name: physim
image: "{{ .Values.global.image.repository }}:{{ .Values.global.image.version }}" image: "{{ .Values.global.image.repository }}:{{ .Values.global.image.version }}"
imagePullPolicy: {{ .Values.image.pullPolicy }} imagePullPolicy: {{ .Values.image.pullPolicy }}
# resources:
# requests:
# memory: "4096Mi"
# cpu: "4000m"
# limits:
# memory: "4096Mi"
# cpu: "4000m"
securityContext: securityContext:
{{- toYaml .Values.securityContext | nindent 12 }} {{- toYaml .Values.securityContext | nindent 12 }}
env: env:
...@@ -35,5 +31,5 @@ spec: ...@@ -35,5 +31,5 @@ spec:
dnsPolicy: ClusterFirst dnsPolicy: ClusterFirst
restartPolicy: Never restartPolicy: Never
schedulerName: default-scheduler schedulerName: default-scheduler
serviceAccountName: oai-physim-sa serviceAccountName: {{ .Values.global.serviceAccountName }}
terminationGracePeriodSeconds: 30 terminationGracePeriodSeconds: 30
...@@ -20,7 +20,7 @@ serviceAccount: ...@@ -20,7 +20,7 @@ serviceAccount:
annotations: {} annotations: {}
# The name of the service account to use. # The name of the service account to use.
# If not set and create is true, a name is generated using the fullname template # 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: podSecurityContext:
runAsUser: 0 runAsUser: 0
...@@ -28,26 +28,14 @@ podSecurityContext: ...@@ -28,26 +28,14 @@ podSecurityContext:
securityContext: securityContext:
privileged: false privileged: false
#capabilities:
# add: resources: {}
# - SYS_CAP_PTRACE # limits:
# drop: # cpu: 100m
# - ALL # memory: 128Mi
# readOnlyRootFilesystem: true # requests:
# runAsNonRoot: true # cpu: 100m
# runAsUser: 1000 # memory: 128Mi
service:
type: ClusterIP
port: 80
resources:
limits:
cpu: 100m
memory: 128Mi
requests:
cpu: 100m
memory: 128Mi
nodeSelector: {} nodeSelector: {}
......
...@@ -4,6 +4,9 @@ metadata: ...@@ -4,6 +4,9 @@ metadata:
name: {{ .Chart.Name }} name: {{ .Chart.Name }}
spec: spec:
template: template:
metadata:
labels:
app: physim
spec: spec:
securityContext: securityContext:
{{- toYaml .Values.podSecurityContext | nindent 8 }} {{- toYaml .Values.podSecurityContext | nindent 8 }}
......
...@@ -28,18 +28,6 @@ podSecurityContext: ...@@ -28,18 +28,6 @@ podSecurityContext:
securityContext: securityContext:
privileged: false privileged: false
# capabilities:
# add:
# - SYS_CAP_PTRACE
# drop:
# - ALL
# readOnlyRootFilesystem: true
# runAsNonRoot: true
# runAsUser: 1000
service:
type: ClusterIP
port: 80
resources: {} resources: {}
# We usually recommend not to specify default resources and to leave this as a conscious # We usually recommend not to specify default resources and to leave this as a conscious
......
...@@ -4,6 +4,9 @@ metadata: ...@@ -4,6 +4,9 @@ metadata:
name: {{ .Chart.Name }} name: {{ .Chart.Name }}
spec: spec:
template: template:
metadata:
labels:
app: physim
spec: spec:
securityContext: securityContext:
{{- toYaml .Values.podSecurityContext | nindent 8 }} {{- toYaml .Values.podSecurityContext | nindent 8 }}
......
...@@ -28,18 +28,6 @@ podSecurityContext: ...@@ -28,18 +28,6 @@ podSecurityContext:
securityContext: securityContext:
privileged: false privileged: false
# capabilities:
# add:
# - SYS_CAP_PTRACE
# drop:
# - ALL
# readOnlyRootFilesystem: true
# runAsNonRoot: true
# runAsUser: 1000
service:
type: ClusterIP
port: 80
resources: {} resources: {}
# We usually recommend not to specify default resources and to leave this as a conscious # We usually recommend not to specify default resources and to leave this as a conscious
......
...@@ -4,6 +4,9 @@ metadata: ...@@ -4,6 +4,9 @@ metadata:
name: {{ .Chart.Name }} name: {{ .Chart.Name }}
spec: spec:
template: template:
metadata:
labels:
app: physim
spec: spec:
securityContext: securityContext:
{{- toYaml .Values.podSecurityContext | nindent 8 }} {{- toYaml .Values.podSecurityContext | nindent 8 }}
......
...@@ -28,18 +28,6 @@ podSecurityContext: ...@@ -28,18 +28,6 @@ podSecurityContext:
securityContext: securityContext:
privileged: false privileged: false
# capabilities:
# add:
# - SYS_CAP_PTRACE
# drop:
# - ALL
# readOnlyRootFilesystem: true
# runAsNonRoot: true
# runAsUser: 1000
service:
type: ClusterIP
port: 80
resources: {} resources: {}
# We usually recommend not to specify default resources and to leave this as a conscious # We usually recommend not to specify default resources and to leave this as a conscious
......
...@@ -4,6 +4,9 @@ metadata: ...@@ -4,6 +4,9 @@ metadata:
name: {{ .Chart.Name }} name: {{ .Chart.Name }}
spec: spec:
template: template:
metadata:
labels:
app: physim
spec: spec:
securityContext: securityContext:
{{- toYaml .Values.podSecurityContext | nindent 8 }} {{- toYaml .Values.podSecurityContext | nindent 8 }}
......
...@@ -28,18 +28,6 @@ podSecurityContext: ...@@ -28,18 +28,6 @@ podSecurityContext:
securityContext: securityContext:
privileged: false privileged: false
# capabilities:
# add:
# - SYS_CAP_PTRACE
# drop:
# - ALL
# readOnlyRootFilesystem: true
# runAsNonRoot: true
# runAsUser: 1000
service:
type: ClusterIP
port: 80
resources: {} resources: {}
# We usually recommend not to specify default resources and to leave this as a conscious # We usually recommend not to specify default resources and to leave this as a conscious
......
...@@ -4,6 +4,9 @@ metadata: ...@@ -4,6 +4,9 @@ metadata:
name: {{ .Chart.Name }} name: {{ .Chart.Name }}
spec: spec:
template: template:
metadata:
labels:
app: physim
spec: spec:
securityContext: securityContext:
{{- toYaml .Values.podSecurityContext | nindent 8 }} {{- toYaml .Values.podSecurityContext | nindent 8 }}
......
...@@ -28,18 +28,6 @@ podSecurityContext: ...@@ -28,18 +28,6 @@ podSecurityContext:
securityContext: securityContext:
privileged: false privileged: false
# capabilities:
# add:
# - SYS_CAP_PTRACE
# drop:
# - ALL
# readOnlyRootFilesystem: true
# runAsNonRoot: true
# runAsUser: 1000
service:
type: ClusterIP
port: 80
resources: {} resources: {}
# We usually recommend not to specify default resources and to leave this as a conscious # We usually recommend not to specify default resources and to leave this as a conscious
......
...@@ -4,6 +4,9 @@ metadata: ...@@ -4,6 +4,9 @@ metadata:
name: {{ .Chart.Name }} name: {{ .Chart.Name }}
spec: spec:
template: template:
metadata:
labels:
app: physim
spec: spec:
securityContext: securityContext:
{{- toYaml .Values.podSecurityContext | nindent 8 }} {{- toYaml .Values.podSecurityContext | nindent 8 }}
......
...@@ -28,18 +28,6 @@ podSecurityContext: ...@@ -28,18 +28,6 @@ podSecurityContext:
securityContext: securityContext:
privileged: false privileged: false
# capabilities:
# add:
# - SYS_CAP_PTRACE
# drop:
# - ALL
# readOnlyRootFilesystem: true
# runAsNonRoot: true
# runAsUser: 1000
service:
type: ClusterIP
port: 80
resources: {} resources: {}
# We usually recommend not to specify default resources and to leave this as a conscious # We usually recommend not to specify default resources and to leave this as a conscious
......
...@@ -6,7 +6,7 @@ spec: ...@@ -6,7 +6,7 @@ spec:
template: template:
metadata: metadata:
labels: labels:
{{- include "oai-nr-pbchsim-106rb.selectorLabels" . | nindent 8 }} app: physim
spec: spec:
securityContext: securityContext:
{{- toYaml .Values.podSecurityContext | nindent 8 }} {{- toYaml .Values.podSecurityContext | nindent 8 }}
......
...@@ -28,18 +28,6 @@ podSecurityContext: ...@@ -28,18 +28,6 @@ podSecurityContext:
securityContext: securityContext:
privileged: false privileged: false
# capabilities:
# add:
# - SYS_CAP_PTRACE
# drop:
# - ALL
# readOnlyRootFilesystem: true
# runAsNonRoot: true
# runAsUser: 1000
service:
type: ClusterIP
port: 80
resources: {} resources: {}
# We usually recommend not to specify default resources and to leave this as a conscious # We usually recommend not to specify default resources and to leave this as a conscious
......
...@@ -4,6 +4,9 @@ metadata: ...@@ -4,6 +4,9 @@ metadata:
name: {{ .Chart.Name }} name: {{ .Chart.Name }}
spec: spec:
template: template:
metadata:
labels:
app: physim
spec: spec:
securityContext: securityContext:
{{- toYaml .Values.podSecurityContext | nindent 8 }} {{- toYaml .Values.podSecurityContext | nindent 8 }}
......
...@@ -28,18 +28,6 @@ podSecurityContext: ...@@ -28,18 +28,6 @@ podSecurityContext:
securityContext: securityContext:
privileged: false privileged: false
# capabilities:
# add:
# - SYS_CAP_PTRACE
# drop:
# - ALL
# readOnlyRootFilesystem: true
# runAsNonRoot: true
# runAsUser: 1000
service:
type: ClusterIP
port: 80
resources: {} resources: {}
# We usually recommend not to specify default resources and to leave this as a conscious # 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