File tree Expand file tree Collapse file tree
umbrella-application/charts/app/templates Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11# jscpd:ignore-start
22---
33{{- if .Values.autoscaling.enabled }}
4- apiVersion : autoscaling/v2beta1
4+ apiVersion : autoscaling/v2
55kind : HorizontalPodAutoscaler
66metadata :
77 name : {{ include "test-application.fullname" . }}
Original file line number Diff line number Diff line change 11{{- if .Values.autoscaling.enabled }}
2- apiVersion : autoscaling/v2beta1
2+ apiVersion : autoscaling/v2
33kind : HorizontalPodAutoscaler
44metadata :
55 name : {{ include "app.fullname" . }}
Original file line number Diff line number Diff line change @@ -10,6 +10,15 @@ metadata:
1010spec :
1111 automountServiceAccountToken : false
1212 securityContext :
13+ seccompProfile :
14+ type : RuntimeDefault
15+ readOnlyRootFilesystem : true
16+ runAsUser : 10001
17+ allowPrivilegeEscalation : false
18+ capabilities :
19+ drop :
20+ - NET_RAW
21+ - ALL
1322 containers :
1423 - name : wget
1524 image : busybox@sha256:9ae97d36d26566ff84e8893c64a6dc4fe8ca6d1144bf5b87b2b85a32def253c7
2231 - -O
2332 - /dev/null
2433 - -q
25- - {{ include "app.fullname" . }}:{{ .Values.service.port }}
34+ - " {{ include " app.fullname" . }}:{{ .Values.service.port }}"
2635 initialDelaySeconds : 5
2736 periodSeconds : 5
2837 timeoutSeconds : 1
3544 - -O
3645 - /dev/null
3746 - -q
38- - {{ include "app.fullname" . }}:{{ .Values.service.port }}
47+ - " {{ include " app.fullname" . }}:{{ .Values.service.port }}"
3948 initialDelaySeconds : 5
4049 periodSeconds : 5
4150 timeoutSeconds : 1
You can’t perform that action at this time.
0 commit comments