Skip to content

Commit

Permalink
add ingress setup script
Browse files Browse the repository at this point in the history
  • Loading branch information
mgild committed Mar 20, 2024
1 parent 443d43e commit ab3d9d0
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions scripts/ingress-init.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,33 @@ helm upgrade -i ingress-nginx ingress-nginx/ingress-nginx \
--create-namespace \
--timeout 600s \
--debug

helm repo add vm https://victoriametrics.github.io/helm-charts/ || true
helm upgrade -i vmsingle vm/victoria-metrics-single -f vmetrics-values.yaml

# This app is MANDATORY for all official switchboard oracle operators
# configure your operator label value in the relabel_configs.replacement field
# This. should simply be your organization name for logs identity.
# https://github.com/switchboard-xyz/infra-external/blob/main/infra-apps/vmagent.yaml#L13
helm upgrade -i vmagent vm/victoria-metrics-agent -f infra-external/infra-apps/vmagent.yaml

# Remember to configure and deploy infra-external/infra-apps/cert-manager-issuer.yaml
helm repo add jetstack https://charts.jetstack.io || true
helm upgrade -i \
cert-manager jetstack/cert-manager \
--namespace cert-manager \
--create-namespace \
--version v1.12.3 \
--set installCRDs=true \
--set global.leaderElection.namespace=cert-manager
kubectl apply -f infra-apps/cert-manager-issuer.yaml

helm repo add infisical-helm-charts 'https://dl.cloudsmith.io/public/infisical/helm-charts/helm/charts/' || true
helm upgrade -i secrets-operator infisical-helm-charts/secrets-operator

# Remember to configure the ingress fields
helm repo add grafana https://grafana.github.io/helm-charts || true
helm upgrade --install loki grafana/loki -f loki.yaml
# Note: this yaml points to a loki deployment in default namespace.
# If you are in a difference namespace, then change the value "loki.default.svc.cluster.local" in that yaml accordingly
kubectl apply -f infra-external/infra-apps/promtail.yaml

0 comments on commit ab3d9d0

Please sign in to comment.