use chisel in prod
ci / build (push) Waiting to run Details

This commit is contained in:
CJ_Clippy 2024-06-28 18:33:39 -08:00
parent 276a25ae9c
commit 8cd83603c7
2 changed files with 4 additions and 3 deletions

View File

@ -11,11 +11,11 @@ secrets:
flux: flux:
./scripts/flux-bootstrap.sh ./scripts/flux-bootstrap.sh
dev: kind namespaces secrets chisel velero dev: kind namespaces secrets velero chisel
prod: echoenv namespaces secrets velero chisel flux prod: echoenv namespaces secrets velero chisel flux
staging: echoenv namespaces secrets velero flux staging: echoenv namespaces secrets velero chisel flux
echoenv: echoenv:
echo "[echoenv] Using ${ENV} environment. If this is not what you want, export ENV=development|staging|production" echo "[echoenv] Using ${ENV} environment. If this is not what you want, export ENV=development|staging|production"

View File

@ -38,6 +38,7 @@ spec:
port: 8001 port: 8001
targetPort: 5678 targetPort: 5678
{{ if eq .Values.environment "development" }}
--- ---
apiVersion: chisel-operator.io/v1 apiVersion: chisel-operator.io/v1
kind: ExitNode kind: ExitNode
@ -48,7 +49,7 @@ spec:
host: "{{ .Values.chisel.exitNodeIp }}" host: "{{ .Values.chisel.exitNodeIp }}"
port: 9090 port: 9090
auth: chisel auth: chisel
{{ end }}
--- ---
apiVersion: networking.k8s.io/v1 apiVersion: networking.k8s.io/v1