config
This commit is contained in:
@ -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"]
|
||||||
|
|||||||
@ -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
|
|
||||||
|
|||||||
Reference in New Issue
Block a user