From ceed230a9e2373716205bb1303eead721afe7c16 Mon Sep 17 00:00:00 2001 From: Yuriy Bezsonov Date: Tue, 3 Oct 2023 10:08:41 +0200 Subject: [PATCH] rename file imagerepolicy --- .../gitops/flux/{imagerepolicy.yaml => imagepolicy.yaml} | 0 website/docs/automation/gitops/flux/ci.md | 5 +++-- 2 files changed, 3 insertions(+), 2 deletions(-) rename manifests/modules/automation/gitops/flux/{imagerepolicy.yaml => imagepolicy.yaml} (100%) diff --git a/manifests/modules/automation/gitops/flux/imagerepolicy.yaml b/manifests/modules/automation/gitops/flux/imagepolicy.yaml similarity index 100% rename from manifests/modules/automation/gitops/flux/imagerepolicy.yaml rename to manifests/modules/automation/gitops/flux/imagepolicy.yaml diff --git a/website/docs/automation/gitops/flux/ci.md b/website/docs/automation/gitops/flux/ci.md index 072f418e3..f0fb6ae27 100644 --- a/website/docs/automation/gitops/flux/ci.md +++ b/website/docs/automation/gitops/flux/ci.md @@ -99,7 +99,7 @@ manifests/modules/automation/gitops/flux/imagerepository.yaml 2. ImagePolicy: ```file -manifests/modules/automation/gitops/flux/imagerepolicy.yaml +manifests/modules/automation/gitops/flux/imagepolicy.yaml ``` 3. ImageUpdateAutomation: @@ -113,7 +113,7 @@ $ cp ~/environment/eks-workshop/modules/automation/gitops/flux/image*.yaml ~/env $ yq -i ".spec.image = env(IMAGE_URI_UI)" ~/environment/retail-store-sample-codecommit/imagerepository.yaml $ less ~/environment/retail-store-sample-codecommit/imagerepository.yaml | grep image: $ kubectl apply -f ~/environment/retail-store-sample-codecommit/imagerepository.yaml -$ kubectl apply -f ~/environment/retail-store-sample-codecommit/imagerepolicy.yaml +$ kubectl apply -f ~/environment/retail-store-sample-codecommit/imagepolicy.yaml $ kubectl apply -f ~/environment/retail-store-sample-codecommit/imageupdateautomation.yaml ``` @@ -164,6 +164,7 @@ We wait 2-5 minutes until Application Load Balancer will be provisioned and chec ```bash test=false $ export UI_URL=$(kubectl get ingress -n ui ui -o jsonpath="{.status.loadBalancer.ingress[*].hostname}{'\n'}") +$ while [[ $(curl -s -o /dev/null -w "%{http_code}" $UI_URL/home) != "200" ]]; do sleep 1; done $ curl $UI_URL/home | grep "Retail Store Sample" % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed