use chisel in prod
ci / build (push) Waiting to run
Details
ci / build (push) Waiting to run
Details
This commit is contained in:
parent
276a25ae9c
commit
8cd83603c7
4
Makefile
4
Makefile
|
@ -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"
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue