File tree Expand file tree Collapse file tree 4 files changed +15
-2
lines changed
Expand file tree Collapse file tree 4 files changed +15
-2
lines changed Original file line number Diff line number Diff line change 4949 httpGet :
5050 path : /actuator/health
5151 port : 8080
52- periodSeconds : 20
52+ periodSeconds : 20
53+
54+ securityContext :
55+ allowPrivilegeEscalation : false
56+ runAsNonRoot : true
57+ runAsUser : 1000
58+ capabilities :
59+ drop :
60+ - ALL
61+ seccompProfile :
62+ type : RuntimeDefault
63+
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ metadata:
44 name : api-env
55data :
66 SPRING_PROFILES_ACTIVE : " docker"
7- SPRING_DATASOURCE_URL : " jdbc:postgresql://my-app -db:5432/people"
7+ SPRING_DATASOURCE_URL : " jdbc:postgresql://people -db:5432/people"
88 SPRING_DATASOURCE_USERNAME : " people"
99 SPRING_DATASOURCE_PASSWORD : " people"
1010 JAVA_OPTS : " -XX:+UseG1GC -XX:MaxRAMPercentage=75"
File renamed without changes.
Original file line number Diff line number Diff line change 6666 - -c
6767 - pg_isready -U "$(POSTGRES_USER:-postgres)"
6868 periodSeconds : 20
69+ securityContext :
70+ allowPrivilegeEscalation : false
6971 volumes :
7072 - name : {{ .Release.Name }}-storage
7173 persistentVolumeClaim :
You can’t perform that action at this time.
0 commit comments