Skip to content

Commit

Permalink
update README and nightly files (#10)
Browse files Browse the repository at this point in the history
  • Loading branch information
taghreed86 authored Oct 11, 2023
1 parent 619b5fd commit 36ebded
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
1 change: 0 additions & 1 deletion .github/workflows/nightly.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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: |
Expand Down
8 changes: 5 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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/<your_branch_name>/' ./utils/data/violating-podinfo-kustomization.yaml
kubectl apply -f ./utils/data/violating-podinfo-kustomization.yaml
```

Expand All @@ -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<p>&nbsp;</p>
10. Flux reconcile violating app.
```bash
flux reconcile kustomization violating-podinfo -n default --with-source || true
kubectl get pods -A
Expand Down

0 comments on commit 36ebded

Please sign in to comment.