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---
22{{- if .Values.autoscaling.enabled }}
3- apiVersion : autoscaling/v2beta1
3+ apiVersion : autoscaling/v2
44kind : HorizontalPodAutoscaler
55metadata :
66 name : {{ include "app.fullname" . }}
Original file line number Diff line number Diff line change @@ -11,6 +11,15 @@ metadata:
1111spec :
1212 automountServiceAccountToken : false
1313 securityContext :
14+ seccompProfile :
15+ type : RuntimeDefault
16+ readOnlyRootFilesystem : true
17+ runAsUser : 10001
18+ allowPrivilegeEscalation : false
19+ capabilities :
20+ drop :
21+ - NET_RAW
22+ - ALL
1423 containers :
1524 - name : wget
1625 image : busybox@sha256:9ae97d36d26566ff84e8893c64a6dc4fe8ca6d1144bf5b87b2b85a32def253c7
2332 - -O
2433 - /dev/null
2534 - -q
26- - {{ include "app.fullname" . }}:{{ .Values.service.port }}
35+ - " {{ include " app.fullname" . }}:{{ .Values.service.port }}"
2736 initialDelaySeconds : 5
2837 periodSeconds : 5
2938 timeoutSeconds : 1
3645 - -O
3746 - /dev/null
3847 - -q
39- - {{ include "app.fullname" . }}:{{ .Values.service.port }}
48+ - " {{ include " app.fullname" . }}:{{ .Values.service.port }}"
4049 initialDelaySeconds : 5
4150 periodSeconds : 5
4251 timeoutSeconds : 1
You can’t perform that action at this time.
0 commit comments