feat: Add twingate
This commit is contained in:
parent
11c5f27bc7
commit
ae22b0aee8
@ -7,3 +7,4 @@ resources:
|
||||
- ghost
|
||||
- authentik
|
||||
- ingressroutes
|
||||
# - twingate
|
||||
|
8
k8s/apps/twingate/kustomization.yaml
Normal file
8
k8s/apps/twingate/kustomization.yaml
Normal file
@ -0,0 +1,8 @@
|
||||
---
|
||||
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||
kind: Kustomization
|
||||
resources:
|
||||
- repository.yaml
|
||||
- secrets.yaml
|
||||
- release.yaml
|
||||
|
32
k8s/apps/twingate/release.yaml
Normal file
32
k8s/apps/twingate/release.yaml
Normal file
@ -0,0 +1,32 @@
|
||||
---
|
||||
apiVersion: helm.toolkit.fluxcd.io/v2
|
||||
kind: HelmRelease
|
||||
metadata:
|
||||
name: twingate
|
||||
namespace: default
|
||||
spec:
|
||||
interval: 10m0s
|
||||
releaseName: twingate-rampant-eagle
|
||||
targetNamespace: default
|
||||
chart:
|
||||
spec:
|
||||
chart: connector
|
||||
reconcileStrategy: ChartVersion
|
||||
sourceRef:
|
||||
kind: HelmRepository
|
||||
name: twingate
|
||||
namespace: flux-system
|
||||
valuesFrom:
|
||||
- kind: Secret
|
||||
name: twingate-creds
|
||||
valuesKey: access-token
|
||||
targetPath: connector.accessToken
|
||||
- kind: Secret
|
||||
name: twingate-creds
|
||||
valuesKey: refresh-token
|
||||
targetPath: connector.refreshToken
|
||||
values:
|
||||
connector:
|
||||
network: mnke
|
||||
# accessToken:
|
||||
# refreshToken:
|
9
k8s/apps/twingate/repository.yaml
Normal file
9
k8s/apps/twingate/repository.yaml
Normal file
@ -0,0 +1,9 @@
|
||||
---
|
||||
apiVersion: source.toolkit.fluxcd.io/v1
|
||||
kind: HelmRepository
|
||||
metadata:
|
||||
name: twingate
|
||||
namespace: flux-system
|
||||
spec:
|
||||
interval: 10m0s
|
||||
url: https://twingate.github.io/helm-charts
|
21
k8s/apps/twingate/secrets.yaml
Normal file
21
k8s/apps/twingate/secrets.yaml
Normal file
@ -0,0 +1,21 @@
|
||||
---
|
||||
apiVersion: external-secrets.io/v1beta1
|
||||
kind: ExternalSecret
|
||||
metadata:
|
||||
name: twingate-creds
|
||||
namespace: default
|
||||
spec:
|
||||
secretStoreRef:
|
||||
kind: ClusterSecretStore
|
||||
name: infisical
|
||||
|
||||
target:
|
||||
name: twingate-creds
|
||||
|
||||
data:
|
||||
- secretKey: access-token
|
||||
remoteRef:
|
||||
key: twingate-access-token
|
||||
- secretKey: refresh-token
|
||||
remoteRef:
|
||||
key: twingate-refresh-token
|
Loading…
x
Reference in New Issue
Block a user