Skip to content

Commit

Permalink
feat: Setting up kind cluster
Browse files Browse the repository at this point in the history
Signed-off-by: Fredrik Klingenberg <[email protected]>
  • Loading branch information
fredrkl committed Mar 24, 2023
1 parent e912a96 commit bd3118a
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 3 deletions.
4 changes: 3 additions & 1 deletion .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,9 @@
"editor.minimap.enabled": false,
"workbench.panel.defaultLocation": "right"
},
"extensions": []
"extensions": [
"GitHub.copilot"
]
}
}
}
3 changes: 2 additions & 1 deletion .devcontainer/setup.sh
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
echo "source <(kind completion bash)" >> ~/.bashrc
echo "source <(kind completion bash)" >> ~/.bashrc
kind create cluster -n kyverno-demo
6 changes: 5 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# Kyverno Demo

This demo shows how to use Kyverno to enforce policies on Kubernetes resources. First, you will need to have _kind_ installed. You can find instructions on how to install _kind_ [here](https://kind.sigs.k8s.io/docs/user/quick-start/).
## Setting up the demo with the devcontainer
This demo shows how to use Kyverno to enforce policies on Kubernetes resources. You can use the devcontainer following this repo. The devcontainer has all the tools installed to run the demo.

## Setting up the demo without the devcontainer
First, you will need to have _kind_ installed. You can find instructions on how to install _kind_ [here](https://kind.sigs.k8s.io/docs/user/quick-start/).

0 comments on commit bd3118a

Please sign in to comment.