Skip to content

Commit

Permalink
fix: updated helm chart
Browse files Browse the repository at this point in the history
  • Loading branch information
ReuDa committed Apr 19, 2023
1 parent df067b8 commit e86df15
Show file tree
Hide file tree
Showing 2 changed files with 49 additions and 17 deletions.
18 changes: 13 additions & 5 deletions charts/steadybit-extension-postman/templates/deployment.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
apiVersion: apps/v1
kind: Deployment
metadata:
name: {{ include "extensionlib.names.fullname" . }}
name: {{ .Release.Name }}
namespace: {{ .Release.Namespace }}
labels:
{{- range $key, $value := .Values.extraLabels }}
Expand All @@ -11,16 +11,16 @@ spec:
replicas: 1
selector:
matchLabels:
app.kubernetes.io/name: {{ include "extensionlib.names.name" . }}
app.kubernetes.io/name: {{ .Release.Name }}
template:
metadata:
labels:
app.kubernetes.io/name: {{ include "extensionlib.names.name" . }}
app.kubernetes.io/name: {{ .Release.Name }}
spec:
containers:
- image: {{ .Values.image.name }}:{{ .Values.image.tag }}
imagePullPolicy: {{ .Values.image.pullPolicy }}
name: extension-postman
name: {{ .Release.Name }}
resources:
requests:
memory: {{ .Values.resources.requests.memory }}
Expand All @@ -32,6 +32,14 @@ spec:
{{- include "extensionlib.deployment.env" (list .) | nindent 12 }}
volumeMounts:
{{- include "extensionlib.deployment.volumeMounts" (list .) | nindent 12 }}
livenessProbe:
httpGet:
path: /health/liveness
port: 8087
readinessProbe:
httpGet:
path: /health/readiness
port: 8087
volumes:
{{- include "extensionlib.deployment.volumes" (list .) | nindent 8 }}
{{- with .Values.nodeSelector }}
Expand All @@ -49,4 +57,4 @@ spec:
{{- with .Values.topologySpreadConstraints }}
topologySpreadConstraints:
{{- toYaml . | nindent 8 }}
{{- end }}
{{- end }}
Original file line number Diff line number Diff line change
Expand Up @@ -4,17 +4,17 @@ manifest should match snapshot with TLS:
kind: Deployment
metadata:
labels: null
name: RELEASE-NAME-steadybit-extension-postman
name: RELEASE-NAME
namespace: NAMESPACE
spec:
replicas: 1
selector:
matchLabels:
app.kubernetes.io/name: steadybit-extension-postman
app.kubernetes.io/name: RELEASE-NAME
template:
metadata:
labels:
app.kubernetes.io/name: steadybit-extension-postman
app.kubernetes.io/name: RELEASE-NAME
spec:
containers:
- env:
Expand All @@ -28,7 +28,15 @@ manifest should match snapshot with TLS:
value: /etc/extension/certificates/server-cert/tls.key
image: steadybit/extension-postman:latest
imagePullPolicy: Always
name: extension-postman
livenessProbe:
httpGet:
path: /health/liveness
port: 8087
name: RELEASE-NAME
readinessProbe:
httpGet:
path: /health/readiness
port: 8087
resources:
limits:
cpu: 200m
Expand All @@ -51,17 +59,17 @@ manifest should match snapshot with mutual TLS:
kind: Deployment
metadata:
labels: null
name: RELEASE-NAME-steadybit-extension-postman
name: RELEASE-NAME
namespace: NAMESPACE
spec:
replicas: 1
selector:
matchLabels:
app.kubernetes.io/name: steadybit-extension-postman
app.kubernetes.io/name: RELEASE-NAME
template:
metadata:
labels:
app.kubernetes.io/name: steadybit-extension-postman
app.kubernetes.io/name: RELEASE-NAME
spec:
containers:
- env:
Expand All @@ -77,7 +85,15 @@ manifest should match snapshot with mutual TLS:
value: /etc/extension/certificates/client-cert-a/tls.crt,/etc/extension/certificates/client-cert-a/tls.crt
image: steadybit/extension-postman:latest
imagePullPolicy: Always
name: extension-postman
livenessProbe:
httpGet:
path: /health/liveness
port: 8087
name: RELEASE-NAME
readinessProbe:
httpGet:
path: /health/readiness
port: 8087
resources:
limits:
cpu: 200m
Expand Down Expand Up @@ -107,17 +123,17 @@ manifest should match snapshot without TLS:
kind: Deployment
metadata:
labels: null
name: RELEASE-NAME-steadybit-extension-postman
name: RELEASE-NAME
namespace: NAMESPACE
spec:
replicas: 1
selector:
matchLabels:
app.kubernetes.io/name: steadybit-extension-postman
app.kubernetes.io/name: RELEASE-NAME
template:
metadata:
labels:
app.kubernetes.io/name: steadybit-extension-postman
app.kubernetes.io/name: RELEASE-NAME
spec:
containers:
- env:
Expand All @@ -127,7 +143,15 @@ manifest should match snapshot without TLS:
value: text
image: steadybit/extension-postman:latest
imagePullPolicy: Always
name: extension-postman
livenessProbe:
httpGet:
path: /health/liveness
port: 8087
name: RELEASE-NAME
readinessProbe:
httpGet:
path: /health/readiness
port: 8087
resources:
limits:
cpu: 200m
Expand Down

0 comments on commit e86df15

Please sign in to comment.