feat: initial commit
Signed-off-by: Vojtech Mares <iam@vojtechmares.com>
This commit is contained in:
commit
a4f9b46fdb
11 changed files with 640 additions and 0 deletions
37
Makefile
Normal file
37
Makefile
Normal file
|
|
@ -0,0 +1,37 @@
|
|||
.PHONY: helm-repos
|
||||
helm-repos:
|
||||
helm repo add jetstack https://charts.jetstack.io
|
||||
helm repo add hcloud https://charts.hetzner.cloud
|
||||
helm repo update
|
||||
|
||||
.PHONY: install-cert-manager
|
||||
install-cert-manager: helm-repos
|
||||
helm upgrade --install cert-manager jetstack/cert-manager \
|
||||
--namespace cert-manager \
|
||||
--create-namespace \
|
||||
--version v1.12.2 \
|
||||
--set installCRDs=true \
|
||||
--set ingressShim.defaultIssuerName=letsencrypt-prod \
|
||||
--set ingressShim.defaultIssuerKind=ClusterIssuer \
|
||||
--set ingressShim.defaultIssuerGroup=cert-manager.io
|
||||
|
||||
.PHONY: install-clusterissuer
|
||||
install-clusterissuer:
|
||||
kubectl apply -f ./manifests/clusterissuer.yaml
|
||||
|
||||
.PHONY: install-hccm
|
||||
install-hccm:
|
||||
helm upgrade --install hccm hcloud/hcloud-cloud-controller-manager \
|
||||
--namespace kube-system \
|
||||
-f ./helm/values/hccm.yaml
|
||||
|
||||
.PHONY: install-hcloud-csi-driver
|
||||
install-hcloud-csi-driver:
|
||||
kubectl apply -f ./manifests/hcloud-csi-driver.yaml
|
||||
|
||||
.PHONY: install-keycloak
|
||||
install-keycloak: helm-repos
|
||||
helm upgrade --install keycloak oci://registry-1.docker.io/bitnamicharts/keycloak \
|
||||
--namespace mareshq-keycloak \
|
||||
--version 16.1.1 \
|
||||
-f ./helm/values/keycloak.yaml
|
||||
Reference in a new issue