Skip to content

Commit bd3118a

Browse files
committed
feat: Setting up kind cluster
Signed-off-by: Fredrik Klingenberg <fredrkl@gmail.com>
1 parent e912a96 commit bd3118a

File tree

3 files changed

+10
-3
lines changed

3 files changed

+10
-3
lines changed

.devcontainer/devcontainer.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,9 @@
1212
"editor.minimap.enabled": false,
1313
"workbench.panel.defaultLocation": "right"
1414
},
15-
"extensions": []
15+
"extensions": [
16+
"GitHub.copilot"
17+
]
1618
}
1719
}
1820
}

.devcontainer/setup.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
1-
echo "source <(kind completion bash)" >> ~/.bashrc
1+
echo "source <(kind completion bash)" >> ~/.bashrc
2+
kind create cluster -n kyverno-demo

README.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
11
# Kyverno Demo
22

3-
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/).
3+
## Setting up the demo with the devcontainer
4+
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.
5+
6+
## Setting up the demo without the devcontainer
7+
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 commit comments

Comments
 (0)