File tree Expand file tree Collapse file tree 4 files changed +9
-8
lines changed
charts/spring-cloud-k8s-boss Expand file tree Collapse file tree 4 files changed +9
-8
lines changed Original file line number Diff line number Diff line change @@ -37,12 +37,12 @@ pipeline {
3737 }
3838 stage(' Build Release' ) {
3939 when {
40- branch ' master '
40+ branch ' develop '
4141 }
4242 steps {
4343 container(' maven' ) {
4444 // ensure we're not on a detached head
45- sh " git checkout master "
45+ sh " git checkout develop "
4646 sh " git config --global credential.helper store"
4747
4848 sh " jx step git credentials"
@@ -67,7 +67,7 @@ pipeline {
6767 }
6868 stage(' Promote to Environments' ) {
6969 when {
70- branch ' master '
70+ branch ' develop '
7171 }
7272 steps {
7373 dir (' ./charts/spring-cloud-k8s-boss' ) {
Original file line number Diff line number Diff line change 1111 metadata :
1212 labels :
1313 draft : {{ default "draft-app" .Values.draft }}
14- app : {{ template "fullname" . }}
14+ app : {{ .Values.service.name }}
1515{{- if .Values.podAnnotations }}
1616 annotations :
1717{{ toYaml .Values.podAnnotations | indent 8 }}
Original file line number Diff line number Diff line change @@ -8,6 +8,7 @@ metadata:
88{{- end }}
99 labels :
1010 chart : " {{ .Chart.Name }}-{{ .Chart.Version | replace " +" "_" }}"
11+ type : boss
1112{{- if .Values.service.annotations }}
1213 annotations :
1314{{ toYaml .Values.service.annotations | indent 4 }}
2021 protocol : TCP
2122 name : http
2223 selector :
23- app : {{ template "fullname" . }}
24+ app : {{ .Values.service.name }}
Original file line number Diff line number Diff line change @@ -17,18 +17,18 @@ service:
1717resources :
1818 limits :
1919 cpu : 500m
20- memory : 512Mi
20+ memory : 768Mi
2121 requests :
2222 cpu : 400m
23- memory : 512Mi
23+ memory : 768Mi
2424probePath : /actuator/health
2525livenessProbe :
2626 initialDelaySeconds : 60
2727 periodSeconds : 10
2828 successThreshold : 1
2929 timeoutSeconds : 1
3030readinessProbe :
31- periodSeconds : 10
31+ periodSeconds : 40
3232 successThreshold : 1
3333 timeoutSeconds : 1
3434terminationGracePeriodSeconds : 10
You can’t perform that action at this time.
0 commit comments