This commit is contained in:
Valentin Afanasev
2025-08-05 03:19:07 +03:00
parent f05cd094e5
commit 1a3eb347bd
2 changed files with 9 additions and 5 deletions

View File

@ -13,6 +13,10 @@ spec:
env: env:
- name: POSTGRES_PASSWORD - name: POSTGRES_PASSWORD
value: test value: test
- name: POSTGRES_USER
value: test
- name: POSTGRES_DB
value: test
readinessProbe: readinessProbe:
exec: exec:
command: ["pg_isready", "-U", "postgres"] command: ["pg_isready", "-U", "postgres"]

View File

@ -5,10 +5,10 @@ inputs:
runs: runs:
using: composite using: composite
steps:
- run: |
werf kubectl delete service/${SERVICE_NAME} --ignore-not-found
werf kubectl delete pod/${SERVICE_NAME} --ignore-not-found
shell: bash
env: env:
SERVICE_NAME: ${{ inputs.service_name }} SERVICE_NAME: ${{ inputs.service_name }}
steps:
- run: werf kubectl delete service/${SERVICE_NAME} --ignore-not-found
shell: bash
- run: werf kubectl delete pod/${SERVICE_NAME} --ignore-not-found
shell: bash