From 8f722d1672c6b5bd94cd7c7cb4c9a7d9a9fe3f49 Mon Sep 17 00:00:00 2001 From: taghreed86 Date: Wed, 11 Oct 2023 15:15:54 +0300 Subject: [PATCH] update README and nightly files --- .github/workflows/nightly.yaml | 1 - README.md | 8 +++++--- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/.github/workflows/nightly.yaml b/.github/workflows/nightly.yaml index 2a15462..28577b7 100644 --- a/.github/workflows/nightly.yaml +++ b/.github/workflows/nightly.yaml @@ -103,7 +103,6 @@ jobs: - name: Install violating-app run: | kubectl apply -f ./utils/data/violating-podinfo-kustomization.yaml - flux reconcile kustomization -n default violating-podinfo --verbose - name: Install policies run: | diff --git a/README.md b/README.md index 3168316..e35122d 100644 --- a/README.md +++ b/README.md @@ -47,13 +47,15 @@ It is recommended to install latest and stable version of these tools. All tools 7. Setup core and enterprise controllers. ```bash + kubectl create namespace flux-system + flux install + kubectl create secret generic git-provider-credentials -n flux-system --from-literal=username="$GITHUB_USER" --from-literal=password="$GITHUB_TOKEN" + sed -i 's/BRANCH_NAME/${{ steps.extract_branch.outputs.branch_name }}/' ./utils/scripts/resources/flux-system-gitrepo.yaml ./utils/scripts/wego-enterprise.sh setup ./utils/scripts ``` 8. Install violating-app. ```bash - kubectl create secret generic git-provider-credentials -n flux-system --from-literal=username="$GITHUB_USER" --from-literal=password="$GITHUB_TOKEN" - sed -i 's/BRANCH_NAME//' ./utils/data/violating-podinfo-kustomization.yaml kubectl apply -f ./utils/data/violating-podinfo-kustomization.yaml ``` @@ -62,7 +64,7 @@ It is recommended to install latest and stable version of these tools. All tools kubectl apply -f ./utils/data/policies.yaml ``` -10. Flux reconcile violating app

 

+10. Flux reconcile violating app. ```bash flux reconcile kustomization violating-podinfo -n default --with-source || true kubectl get pods -A