Skip to content
Snippets Groups Projects
Commit 9c9dd685 authored by Remi  PLANEL's avatar Remi PLANEL
Browse files

use --namespace

parent 45433d64
No related branches found
No related tags found
No related merge requests found
Pipeline #119103 failed
......@@ -473,7 +473,7 @@ load-website:dev:
rules:
- if: $CI_COMMIT_BRANCH != "main"
script:
- kubectl wait pods -n ${NAMESPACE} -l app.kubernetes.io\/name=df-wiki --for condition=Ready --timeout=600s
- kubectl wait pod -l app.kubernetes.io\/name=df-wiki --for condition=Ready --timeout=600s --namespace ${NAMESPACE}
- echo "Le pod est ready"
......@@ -484,5 +484,5 @@ load-website:prod:
rules:
- if: $CI_COMMIT_BRANCH == "main"
script:
- kubectl wait pods -n ${NAMESPACE} -l app.kubernetes.io\/name=df-wiki --for condition=Ready --timeout=600s
- kubectl wait pod -l app.kubernetes.io\/name=df-wiki --for condition=Ready --timeout=600s --namespace ${NAMESPACE}
- echo "Le pod est ready"
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment