37 lines
1.1 KiB
Makefile
37 lines
1.1 KiB
Makefile
.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
|