Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions charts/steadybit-extension-debug/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
apiVersion: v2
name: steadybit-extension-debug
description: Steadybit debug extension Helm chart for Kubernetes.
version: 1.0.22
appVersion: v1.0.13 # replace with your version
version: 1.0.24
appVersion: v1.0.13
home: https://www.steadybit.com/
icon: https://steadybit-website-assets.s3.amazonaws.com/logo-symbol-transparent.png
maintainers:
Expand Down
2 changes: 1 addition & 1 deletion charts/steadybit-extension-debug/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ spec:
{{- toYaml . | nindent 8 }}
{{- end }}
spec:
{{- with .Values.priorityClassName }}
{{- with (.Values.priorityClassName | default (dig "priorityClassName" nil (.Values.global | default dict))) }}
priorityClassName: {{ . }}
{{- end }}
{{- with .Values.podSecurityContext }}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -306,6 +306,80 @@ manifest should match snapshot with extra labels:
volumes:
- emptyDir: {}
name: tmp-dir
manifest should match snapshot with global priority class:
1: |
apiVersion: apps/v1
kind: Deployment
metadata:
labels:
steadybit.com/discovery-disabled: "true"
steadybit.com/extension: "true"
name: RELEASE-NAME-steadybit-extension-debug
namespace: NAMESPACE
spec:
replicas: 1
selector:
matchLabels:
app.kubernetes.io/instance: RELEASE-NAME
app.kubernetes.io/name: steadybit-extension-debug
template:
metadata:
annotations:
oneagent.dynatrace.com/injection: "false"
labels:
app.kubernetes.io/instance: RELEASE-NAME
app.kubernetes.io/name: steadybit-extension-debug
steadybit.com/discovery-disabled: "true"
steadybit.com/extension: "true"
spec:
automountServiceAccountToken: true
containers:
- env: null
image: ghcr.io/steadybit/extension-debug:v0.0.0
imagePullPolicy: IfNotPresent
livenessProbe:
failureThreshold: 5
httpGet:
path: /health/liveness
port: 8081
initialDelaySeconds: 10
periodSeconds: 10
successThreshold: 1
timeoutSeconds: 5
name: extension
readinessProbe:
failureThreshold: 3
httpGet:
path: /health/readiness
port: 8081
initialDelaySeconds: 10
periodSeconds: 10
successThreshold: 1
timeoutSeconds: 1
resources:
limits:
cpu: 200m
memory: 256Mi
requests:
cpu: 50m
memory: 32Mi
securityContext:
allowPrivilegeEscalation: false
capabilities:
drop:
- ALL
readOnlyRootFilesystem: true
runAsGroup: 10000
runAsNonRoot: true
runAsUser: 10000
volumeMounts:
- mountPath: /tmp
name: tmp-dir
priorityClassName: my-global-priority-class
serviceAccountName: steadybit-extension-debug
volumes:
- emptyDir: {}
name: tmp-dir
manifest should match snapshot with mutual TLS:
1: |
apiVersion: apps/v1
Expand Down
8 changes: 8 additions & 0 deletions charts/steadybit-extension-debug/tests/deployment_test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -80,3 +80,11 @@ tests:
priorityClassName: my-priority-class
asserts:
- matchSnapshot: {}

- it: manifest should match snapshot with global priority class
set:
global:
priorityClassName: my-global-priority-class
asserts:
- matchSnapshot: {}

1 change: 0 additions & 1 deletion charts/steadybit-extension-debug/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -129,4 +129,3 @@ extraEnv: []
# - secretRef:
# name: env-secrets
extraEnvFrom: []

Loading