Update values for my-apps tunnel and secret
This commit is contained in:
parent
993e12b3f1
commit
8dd2c3eaf7
29
applicationsets/applicationset-secrets.yaml
Normal file
29
applicationsets/applicationset-secrets.yaml
Normal file
@ -0,0 +1,29 @@
|
|||||||
|
apiVersion: argoproj.io/v1alpha1
|
||||||
|
kind: ApplicationSet
|
||||||
|
metadata:
|
||||||
|
name: cloudflare-tunnel-secrets
|
||||||
|
namespace: argocd
|
||||||
|
spec:
|
||||||
|
generators:
|
||||||
|
- list:
|
||||||
|
elements:
|
||||||
|
- appName: cloudflare-tunnel-infra
|
||||||
|
- appName: cloudflare-tunnel-my-apps
|
||||||
|
template:
|
||||||
|
metadata:
|
||||||
|
name: "{{appName}}-secret"
|
||||||
|
spec:
|
||||||
|
project: cloudflare
|
||||||
|
source:
|
||||||
|
repoURL: ssh://git@gitea-ssh.dev-tools.svc.cluster.local:2222/dvirlabs/cloudflare.git
|
||||||
|
targetRevision: HEAD
|
||||||
|
path: manifests/{{appName}}
|
||||||
|
destination:
|
||||||
|
server: https://kubernetes.default.svc
|
||||||
|
namespace: cloudflare
|
||||||
|
syncPolicy:
|
||||||
|
automated:
|
||||||
|
prune: true
|
||||||
|
selfHeal: true
|
||||||
|
syncOptions:
|
||||||
|
- CreateNamespace=true
|
||||||
@ -22,6 +22,9 @@ spec:
|
|||||||
releaseName: "{{appName}}"
|
releaseName: "{{appName}}"
|
||||||
valueFiles:
|
valueFiles:
|
||||||
- "../../manifests/{{appName}}/values.yaml"
|
- "../../manifests/{{appName}}/values.yaml"
|
||||||
|
parameters:
|
||||||
|
- name: cloudflare.secretName
|
||||||
|
value: "{{appName}}-credentials"
|
||||||
destination:
|
destination:
|
||||||
server: https://kubernetes.default.svc
|
server: https://kubernetes.default.svc
|
||||||
namespace: "cloudflare"
|
namespace: "cloudflare"
|
||||||
|
|||||||
13
manifests/cloudflare-tunnel-infra/secret.yaml
Normal file
13
manifests/cloudflare-tunnel-infra/secret.yaml
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
apiVersion: v1
|
||||||
|
kind: Secret
|
||||||
|
metadata:
|
||||||
|
name: cloudflare-tunnel-infra-credentials
|
||||||
|
namespace: cloudflare
|
||||||
|
type: Opaque
|
||||||
|
stringData:
|
||||||
|
credentials.json: |
|
||||||
|
{
|
||||||
|
"AccountTag": "",
|
||||||
|
"TunnelSecret": "",
|
||||||
|
"TunnelID": ""
|
||||||
|
}
|
||||||
13
manifests/cloudflare-tunnel-my-apps/secret.yaml
Normal file
13
manifests/cloudflare-tunnel-my-apps/secret.yaml
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
apiVersion: v1
|
||||||
|
kind: Secret
|
||||||
|
metadata:
|
||||||
|
name: cloudflare-tunnel-my-apps-credentials
|
||||||
|
namespace: cloudflare
|
||||||
|
type: Opaque
|
||||||
|
stringData:
|
||||||
|
credentials.json: |
|
||||||
|
{
|
||||||
|
"AccountTag": "d4704b8c40b2f95b2c7bf7ee4ecc52f8",
|
||||||
|
"TunnelID": "6de9c798-265c-421d-9547-5797342eee5e",
|
||||||
|
"TunnelSecret": "ZDExNDJmYjEtMDY0OS00N2I5LTk3ZDEtYTIwZGYxM2Y2MzNm"
|
||||||
|
}
|
||||||
@ -1,18 +1,12 @@
|
|||||||
cloudflare:
|
cloudflare:
|
||||||
tunnelName: b50bbf48-0a2f-47ce-b73e-336b6718318b
|
tunnelName: 6de9c798-265c-421d-9547-5797342eee5e
|
||||||
enableWarp: false
|
enableWarp: false
|
||||||
secretName: cloudflared-creds
|
secretName: cloudflare-tunnel-my-apps-credentials
|
||||||
ingress:
|
ingress: []
|
||||||
cloudflared:
|
|
||||||
image:
|
image:
|
||||||
repository: cloudflare/cloudflared
|
repository: cloudflare/cloudflared
|
||||||
tag: "2025.6.0"
|
tag: "2025.6.0"
|
||||||
pullPolicy: IfNotPresent
|
pullPolicy: IfNotPresent
|
||||||
metrics:
|
|
||||||
enabled: false
|
replicaCount: 2
|
||||||
args:
|
|
||||||
- tunnel
|
|
||||||
- --config
|
|
||||||
- /etc/cloudflared/config/config.yaml
|
|
||||||
- run
|
|
||||||
- b50bbf48-0a2f-47ce-b73e-336b6718318b
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user