Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: tests snapshots #482

Merged
merged 1 commit into from
May 29, 2024
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
54 changes: 47 additions & 7 deletions packages/kontinuous/tests/__snapshots__/app-sidecar.dev.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -164,14 +164,12 @@ spec:
periodSeconds: 5
timeoutSeconds: 5
readinessProbe:
failureThreshold: 15
httpGet:
path: /index.html
port: http
initialDelaySeconds: 1
exec:
command:
- cat
- /var/run/readiness-check/readiness-file
initialDelaySeconds: 5
periodSeconds: 5
successThreshold: 1
timeoutSeconds: 1
startupProbe:
failureThreshold: 12
httpGet:
Expand All @@ -185,6 +183,22 @@ spec:
requests:
cpu: 41m
memory: 131Mi
lifecycle:
postStart:
exec:
command:
- sh
- -c
- touch /var/run/readiness-check/readiness-file
preStop:
exec:
command:
- sh
- -c
- rm -f /var/run/readiness-check/readiness-file; sleep 30
volumeMounts:
- name: readiness-check-volume
mountPath: /var/run/readiness-check
- name: cronjob
image: test/background-cronjob
command:
Expand All @@ -198,6 +212,32 @@ spec:
requests:
cpu: 41m
memory: 131Mi
lifecycle:
postStart:
exec:
command:
- sh
- -c
- touch /var/run/readiness-check/readiness-file
preStop:
exec:
command:
- sh
- -c
- rm -f /var/run/readiness-check/readiness-file; sleep 30
readinessProbe:
exec:
command:
- cat
- /var/run/readiness-check/readiness-file
initialDelaySeconds: 5
periodSeconds: 5
volumeMounts:
- name: readiness-check-volume
mountPath: /var/run/readiness-check
volumes:
- name: readiness-check-volume
emptyDir: {}
---
apiVersion: v1
kind: Service
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -780,6 +780,8 @@ spec:
- name: docs
persistentVolumeClaim:
claimName: docs
- name: readiness-check-volume
emptyDir: {}
containers:
- image: harbor.fabrique.social.gouv.fr/test-app-simple-options/app:sha-ffac537e6cbbf934b08745a378932722df287a53
name: app
Expand All @@ -795,14 +797,12 @@ spec:
periodSeconds: 5
timeoutSeconds: 5
readinessProbe:
failureThreshold: 15
httpGet:
path: /index.html
port: http
initialDelaySeconds: 1
exec:
command:
- cat
- /var/run/readiness-check/readiness-file
initialDelaySeconds: 5
periodSeconds: 5
successThreshold: 1
timeoutSeconds: 1
startupProbe:
failureThreshold: 124
httpGet:
Expand All @@ -820,6 +820,21 @@ spec:
volumeMounts:
- name: docs
mountPath: /mnt/docs
- name: readiness-check-volume
mountPath: /var/run/readiness-check
lifecycle:
postStart:
exec:
command:
- sh
- -c
- touch /var/run/readiness-check/readiness-file
preStop:
exec:
command:
- sh
- -c
- rm -f /var/run/readiness-check/readiness-file; sleep 30
---
apiVersion: v1
kind: Service
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -157,6 +157,8 @@ spec:
- name: docs
persistentVolumeClaim:
claimName: docs
- name: readiness-check-volume
emptyDir: {}
containers:
- image: harbor.fabrique.social.gouv.fr/test-app-simple-options/app:prod
name: app
Expand All @@ -172,14 +174,12 @@ spec:
periodSeconds: 5
timeoutSeconds: 5
readinessProbe:
failureThreshold: 15
httpGet:
path: /index.html
port: http
initialDelaySeconds: 1
exec:
command:
- cat
- /var/run/readiness-check/readiness-file
initialDelaySeconds: 5
periodSeconds: 5
successThreshold: 1
timeoutSeconds: 1
startupProbe:
failureThreshold: 124
httpGet:
Expand All @@ -197,6 +197,21 @@ spec:
volumeMounts:
- name: docs
mountPath: /mnt/docs
- name: readiness-check-volume
mountPath: /var/run/readiness-check
lifecycle:
postStart:
exec:
command:
- sh
- -c
- touch /var/run/readiness-check/readiness-file
preStop:
exec:
command:
- sh
- -c
- rm -f /var/run/readiness-check/readiness-file; sleep 30
---
apiVersion: v1
kind: Service
Expand Down
31 changes: 24 additions & 7 deletions packages/kontinuous/tests/__snapshots__/app-simple.dev.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -164,14 +164,12 @@ spec:
periodSeconds: 5
timeoutSeconds: 5
readinessProbe:
failureThreshold: 15
httpGet:
path: /index.html
port: http
initialDelaySeconds: 1
exec:
command:
- cat
- /var/run/readiness-check/readiness-file
initialDelaySeconds: 5
periodSeconds: 5
successThreshold: 1
timeoutSeconds: 1
startupProbe:
failureThreshold: 12
httpGet:
Expand All @@ -185,6 +183,25 @@ spec:
requests:
cpu: 81m
memory: 262Mi
lifecycle:
postStart:
exec:
command:
- sh
- -c
- touch /var/run/readiness-check/readiness-file
preStop:
exec:
command:
- sh
- -c
- rm -f /var/run/readiness-check/readiness-file; sleep 30
volumeMounts:
- name: readiness-check-volume
mountPath: /var/run/readiness-check
volumes:
- name: readiness-check-volume
emptyDir: {}
---
apiVersion: v1
kind: Service
Expand Down
31 changes: 24 additions & 7 deletions packages/kontinuous/tests/__snapshots__/app-simple.prod.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -163,14 +163,12 @@ spec:
periodSeconds: 5
timeoutSeconds: 5
readinessProbe:
failureThreshold: 15
httpGet:
path: /index.html
port: http
initialDelaySeconds: 1
exec:
command:
- cat
- /var/run/readiness-check/readiness-file
initialDelaySeconds: 5
periodSeconds: 5
successThreshold: 1
timeoutSeconds: 1
startupProbe:
failureThreshold: 12
httpGet:
Expand All @@ -184,6 +182,25 @@ spec:
requests:
cpu: 81m
memory: 262Mi
lifecycle:
postStart:
exec:
command:
- sh
- -c
- touch /var/run/readiness-check/readiness-file
preStop:
exec:
command:
- sh
- -c
- rm -f /var/run/readiness-check/readiness-file; sleep 30
volumeMounts:
- name: readiness-check-volume
mountPath: /var/run/readiness-check
volumes:
- name: readiness-check-volume
emptyDir: {}
---
apiVersion: v1
kind: Service
Expand Down
62 changes: 48 additions & 14 deletions packages/kontinuous/tests/__snapshots__/chart-group.dev.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -87,14 +87,12 @@ spec:
periodSeconds: 5
timeoutSeconds: 5
readinessProbe:
failureThreshold: 15
httpGet:
path: /index.html
port: http
initialDelaySeconds: 1
exec:
command:
- cat
- /var/run/readiness-check/readiness-file
initialDelaySeconds: 5
periodSeconds: 5
successThreshold: 1
timeoutSeconds: 1
startupProbe:
failureThreshold: 12
httpGet:
Expand All @@ -108,6 +106,25 @@ spec:
requests:
cpu: 81m
memory: 262Mi
lifecycle:
postStart:
exec:
command:
- sh
- -c
- touch /var/run/readiness-check/readiness-file
preStop:
exec:
command:
- sh
- -c
- rm -f /var/run/readiness-check/readiness-file; sleep 30
volumeMounts:
- name: readiness-check-volume
mountPath: /var/run/readiness-check
volumes:
- name: readiness-check-volume
emptyDir: {}
---
apiVersion: apps/v1
kind: Deployment
Expand Down Expand Up @@ -195,14 +212,12 @@ spec:
periodSeconds: 5
timeoutSeconds: 5
readinessProbe:
failureThreshold: 15
httpGet:
path: /index.html
port: http
initialDelaySeconds: 1
exec:
command:
- cat
- /var/run/readiness-check/readiness-file
initialDelaySeconds: 5
periodSeconds: 5
successThreshold: 1
timeoutSeconds: 1
startupProbe:
failureThreshold: 12
httpGet:
Expand All @@ -216,6 +231,25 @@ spec:
requests:
cpu: 81m
memory: 262Mi
lifecycle:
postStart:
exec:
command:
- sh
- -c
- touch /var/run/readiness-check/readiness-file
preStop:
exec:
command:
- sh
- -c
- rm -f /var/run/readiness-check/readiness-file; sleep 30
volumeMounts:
- name: readiness-check-volume
mountPath: /var/run/readiness-check
volumes:
- name: readiness-check-volume
emptyDir: {}
---
apiVersion: v1
kind: Service
Expand Down
Loading
Loading