kubectl apply -f https://raw.githubusercontent.com/mpsOxygen/cdnro-workshop/refs/heads/main/manifests/deployment_and_service.yaml
Check Commands
kubectl get pods -n default
helm repo add jetstack https://charts.jetstack.io --force-update
helm install \
cert-manager jetstack/cert-manager \
--namespace cert-manager \
--create-namespace \
--version v1.17.1 \
--set crds.enabled=true
Check Commands
kubectl get pods -n cert-manager
kubectl apply -f https://raw.githubusercontent.com/mpsOxygen/cdnro-workshop/refs/heads/main/manifests/certmanager_ClusterIssuer_selfsinged.yaml
Check Commands
kubectl get clusterissuer
kubectl apply -f https://raw.githubusercontent.com/mpsOxygen/cdnro-workshop/refs/heads/main/manifests/certmanager_Certificate_selfsigned.yaml
Check Commands
kubectl get certificate -n cert-manager
kubectl get secret -n cert-manager
kubectl apply -f https://raw.githubusercontent.com/mpsOxygen/cdnro-workshop/refs/heads/main/manifests/certmanager_ClusterIssuer_ca.yaml
Check Commands
kubectl get clusterissuer
kubectl apply -f https://raw.githubusercontent.com/mpsOxygen/cdnro-workshop/refs/heads/main/manifests/certmanager_Certificate_server.yaml
Check Commands
kubectl get certificate -n default
kubectl get secret -n default
kubectl run client-no-bundle --rm -i --tty --image nicolaka/netshoot
curl https://server
curl https://server.default
curl https://server.default.svc.cluster.local
helm repo add jetstack https://charts.jetstack.io --force-update
helm upgrade trust-manager jetstack/trust-manager \
--install \
--namespace cert-manager \
--wait
Check Commands
kubectl get pods -n cert-manager
kubectl apply -f https://raw.githubusercontent.com/mpsOxygen/cdnro-workshop/refs/heads/main/manifests/trustmanager_Bundle.yaml
Check Commands
kubectl get bundle
kubectl label ns default "cloudnativedays.ro/inject=enabled"
Check Commands
kubectl get namespace default --show-labels
kubectl get configmap -n default
helm repo add kyverno https://kyverno.github.io/kyverno/
helm repo update
helm install \
kyverno kyverno/kyverno \
-n kyverno \
--create-namespace
Check Commands
kubectl get pods -n kyverno
kubectl apply -f https://raw.githubusercontent.com/mpsOxygen/cdnro-workshop/refs/heads/main/manifests/kyverno_ClusterPolicy.yaml
Check Commands
kubectl get clusterpolicy
kubectl run client-with-bundle --rm -i --tty --image nicolaka/netshoot --annotations="inject-certs=enabled"
curl https://server
curl https://server.default
curl https://server.default.svc.cluster.local