Files
juwan-backend/deploy/script/init-secrets.sh

11 lines
761 B
Bash

kubectl create secret generic user-redis \
--from-literal=password=$(openssl rand -base64 12) \
--namespace juwan
helm repo add prometheus-community https://prometheus-community.github.io/helm-charts
helm upgrade --install -f https://raw.githubusercontent.com/cloudnative-pg/cloudnative-pg/main/docs/src/samples/monitoring/kube-stack-config.yaml prometheus-community prometheus-community/kube-prometheus-stack
kubectl apply -f https://raw.githubusercontent.com/cloudnative-pg/cloudnative-pg/release-1.22/releases/cnpg-1.22.0.yaml
helm repo add ot-helm https://ot-container-kit.github.io/helm-charts
helm install redis-operator ot-helm/redis-operator
kubectl create namespace kafka
kubectl create -f 'https://strimzi.io/install/latest?namespace=kafka' -n kafka