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
2 changes: 1 addition & 1 deletion charts/steadybit-extension-datadog/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
apiVersion: v2
name: steadybit-extension-datadog
description: Steadybit Kubernetes extension Helm chart for Datadog.
version: 1.5.17
version: 1.5.18
appVersion: v1.8.15
home: https://www.steadybit.com/
icon: https://steadybit-website-assets.s3.amazonaws.com/logo-symbol-transparent.png
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -400,6 +400,102 @@ manifest should match snapshot with extra labels:
type: RuntimeDefault
serviceAccountName: steadybit-extension-datadog
volumes: null
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-datadog
namespace: NAMESPACE
spec:
replicas: 1
selector:
matchLabels:
app.kubernetes.io/instance: RELEASE-NAME
app.kubernetes.io/name: steadybit-extension-datadog
template:
metadata:
annotations:
oneagent.dynatrace.com/injection: "false"
labels:
app.kubernetes.io/instance: RELEASE-NAME
app.kubernetes.io/name: steadybit-extension-datadog
steadybit.com/discovery-disabled: "true"
steadybit.com/extension: "true"
spec:
containers:
- env:
- name: STEADYBIT_LOG_LEVEL
value: INFO
- name: STEADYBIT_LOG_FORMAT
value: text
- name: STEADYBIT_EXTENSION_API_KEY
valueFrom:
secretKeyRef:
key: api-key
name: steadybit-extension-datadog
- name: STEADYBIT_EXTENSION_APPLICATION_KEY
valueFrom:
secretKeyRef:
key: application-key
name: steadybit-extension-datadog
- name: STEADYBIT_EXTENSION_SITE_PARAMETER
valueFrom:
secretKeyRef:
key: site-parameter
name: steadybit-extension-datadog
- name: STEADYBIT_EXTENSION_SITE_URL
valueFrom:
secretKeyRef:
key: site-url
name: steadybit-extension-datadog
image: ghcr.io/steadybit/extension-datadog:v0.0.0
imagePullPolicy: IfNotPresent
livenessProbe:
failureThreshold: 5
httpGet:
path: /health/liveness
port: 8091
initialDelaySeconds: 10
periodSeconds: 10
successThreshold: 1
timeoutSeconds: 5
name: extension
ports:
- containerPort: 8090
readinessProbe:
failureThreshold: 3
httpGet:
path: /health/readiness
port: 8091
initialDelaySeconds: 10
periodSeconds: 10
successThreshold: 1
timeoutSeconds: 1
resources:
limits:
cpu: 200m
memory: 32Mi
requests:
cpu: 50m
memory: 16Mi
securityContext:
allowPrivilegeEscalation: false
capabilities:
drop:
- ALL
readOnlyRootFilesystem: true
volumeMounts: null
priorityClassName: my-global-priority-class
securityContext:
runAsNonRoot: true
seccompProfile:
type: RuntimeDefault
serviceAccountName: steadybit-extension-datadog
volumes: null
manifest should match snapshot with mock server:
1: |
apiVersion: apps/v1
Expand Down
8 changes: 8 additions & 0 deletions charts/steadybit-extension-datadog/tests/deployment_test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -87,3 +87,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: {}

Loading