config
This commit is contained in:
@ -13,6 +13,10 @@ spec:
|
||||
env:
|
||||
- name: POSTGRES_PASSWORD
|
||||
value: test
|
||||
- name: POSTGRES_USER
|
||||
value: test
|
||||
- name: POSTGRES_DB
|
||||
value: test
|
||||
readinessProbe:
|
||||
exec:
|
||||
command: ["pg_isready", "-U", "postgres"]
|
||||
|
||||
@ -5,10 +5,10 @@ inputs:
|
||||
|
||||
runs:
|
||||
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:
|
||||
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