add twingate
This commit is contained in:
1 parent
a95c777bc6
commit
ab937155a6
7 files changed
+62
-1
No files matched your search
@@ -0,0 +1,9 @@
|
||||
apiVersion: v1
|
||||
kind: ConfigMap
|
||||
metadata:
|
||||
name: twingate-configmap
|
||||
data:
|
||||
TWINGATE_NETWORK: taptap
|
||||
TWINGATE_LABEL_HOSTNAME: hostname
|
||||
TWINGATE_LABEL_DEPLOYED_BY: docker
|
||||
TWINGATE_LOG_LEVEL: "5"
|
||||
@@ -0,0 +1,24 @@
|
||||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
name: twingate-deployment
|
||||
labels:
|
||||
app: twingate
|
||||
spec:
|
||||
replicas: 1
|
||||
selector:
|
||||
matchLabels:
|
||||
app: twingate
|
||||
template:
|
||||
metadata:
|
||||
labels:
|
||||
app: twingate
|
||||
spec:
|
||||
containers:
|
||||
- name: twingate
|
||||
image: twingate/connector:1.88.0
|
||||
envFrom:
|
||||
- secretRef:
|
||||
name: twingate-secret
|
||||
- configMapRef:
|
||||
name: twingate-configmap
|
||||
@@ -0,0 +1,14 @@
|
||||
apiVersion: external-secrets.io/v1
|
||||
kind: ExternalSecret
|
||||
metadata:
|
||||
name: twingate-external-secret
|
||||
spec:
|
||||
refreshPolicy: CreatedOnce
|
||||
secretStoreRef:
|
||||
name: vault-backend
|
||||
kind: ClusterSecretStore
|
||||
target:
|
||||
name: twingate-secret
|
||||
dataFrom:
|
||||
- extract:
|
||||
key: twingate
|
||||
@@ -0,0 +1,9 @@
|
||||
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||
kind: Kustomization
|
||||
namespace: twingate
|
||||
resources:
|
||||
- external-secret.yaml
|
||||
- configmap.yaml
|
||||
- namespace.yaml
|
||||
- deployment.yaml
|
||||
|
||||
@@ -0,0 +1,4 @@
|
||||
apiVersion: v1
|
||||
kind: Namespace
|
||||
metadata:
|
||||
name: nginx
|
||||
Reference in new issue
Block a user