Skip to content

Commit

Permalink
added custom deployment
Browse files Browse the repository at this point in the history
  • Loading branch information
diegolagospagopa committed Jun 2, 2022
1 parent e7bfd0d commit 000d0e2
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 13 deletions.
26 changes: 13 additions & 13 deletions helm/templates/deployments.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@
apiVersion: apps/v1
kind: Deployment
metadata:
name: release-name-microservice-chart
name: devops-springboot-gitlab-workflow-microservice-chart
namespace: idpay
labels:
helm.sh/chart: microservice-chart-1.12.0
app.kubernetes.io/name: microservice-chart
app.kubernetes.io/instance: release-name
app.kubernetes.io/instance: devops-springboot-gitlab-workflow
app.kubernetes.io/version: "0.0.0"
app.kubernetes.io/managed-by: Helm
annotations:
Expand All @@ -16,13 +16,13 @@ spec:
selector:
matchLabels:
app.kubernetes.io/name: microservice-chart
app.kubernetes.io/instance: release-name
app.kubernetes.io/instance: devops-springboot-gitlab-workflow
template:
metadata:
labels:
aadpodidbinding: "idpay-pod-identity"
app.kubernetes.io/name: microservice-chart
app.kubernetes.io/instance: release-name
app.kubernetes.io/instance: devops-springboot-gitlab-workflow
spec:
automountServiceAccountToken: false
serviceAccountName: default
Expand All @@ -37,16 +37,16 @@ spec:
imagePullPolicy: Always
ports:
- name: http
containerPort: 80
containerPort: 8080
protocol: TCP
livenessProbe:
httpGet:
path: /live
port: http
readinessProbe:
httpGet:
path: /ready
port: http
# livenessProbe:
# httpGet:
# path: /live
# port: http
# readinessProbe:
# httpGet:
# path: /ready
# port: http
resources:
limits:
cpu: 150m
Expand Down
5 changes: 5 additions & 0 deletions helm/values-dev.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,11 @@ microservice-chart:
tag: latest
pullPolicy: Always

deployment:
create: false
livenessProbePath: /live
readinessProbePath: /ready

ingress:
create: false
host: "helm-template.ingress.devopslab.pagopa.it"
Expand Down

0 comments on commit 000d0e2

Please sign in to comment.