Skip to content

Commit

Permalink
feat: do not include installation name in deployment volume name
Browse files Browse the repository at this point in the history
  • Loading branch information
kory33 committed Aug 14, 2022
1 parent 7b0726b commit de2dc2c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion helm-charts/cloudflared-tunnel/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
apiVersion: v2
name: "cloudflared-tunnel"
version: "1.0.3"
version: "1.0.4"
maintainers:
- name: GiganticMinecraft
8 changes: 4 additions & 4 deletions helm-charts/cloudflared-tunnel/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,22 +39,22 @@ spec:
value: "/root/.cloudflared/tunnel-cred.json"
volumeMounts:
- mountPath: "/root/.cloudflared-origin-cert"
name: cloudflared-tunnel-{{ .Values.installationName }}-authorization-certificate
name: cloudflared-tunnel-authorization-certificate
- mountPath: "/etc/cloudflared"
name: cloudflared-tunnel-{{ .Values.installationName }}-endpoint-config
name: cloudflared-tunnel-endpoint-config
resources:
requests:
memory: 32Mi
limits:
memory: 64Mi
volumes:
- name: cloudflared-tunnel-{{ .Values.installationName }}-authorization-certificate
- name: cloudflared-tunnel-authorization-certificate
secret:
# このシークレットはクラスタセットアップ作業手順により注入されているべき。
secretName: '{{ required "tunnelCredentialSecretName is required" .Values.tunnelCredentialSecretName }}'
items:
- key: TUNNEL_CREDENTIAL
path: cert.pem
- name: cloudflared-tunnel-{{ .Values.installationName }}-endpoint-config
- name: cloudflared-tunnel-endpoint-config
configMap:
name: cloudflared-tunnel-{{ .Values.installationName }}-endpoint-configmap

0 comments on commit de2dc2c

Please sign in to comment.