chore(zerotier): Add some gui options (#2237)

This commit is contained in:
Stavros Kois
2022-03-21 20:20:02 +02:00
committed by GitHub
parent 70b407b2f7
commit 3c946cf068
3 changed files with 35 additions and 1 deletions

View File

@@ -1,7 +1,7 @@
apiVersion: v2
kubeVersion: ">=1.16.0-0"
name: zerotier
version: 1.0.1
version: 1.0.2
appVersion: "1.8.4"
description: ZeroTier is a smart programmable Ethernet switch for planet Earth
type: application

View File

@@ -52,6 +52,35 @@ questions:
- value: "OnDelete"
description: "(Legacy) OnDelete: ignore .spec.template changes"
# Include{controllerExpert}
- variable: secret
group: "Container Configuration"
label: "Image Secrets"
schema:
additional_attrs: true
type: dict
attrs:
- variable: ZEROTIER_API_SECRET
label: "ZEROTIER_API_SECRET"
description: "Replaces the authtoken.secret before booting and allows you to manage the control socket's authentication key"
schema:
type: string
default: ""
private: true
- variable: ZEROTIER_IDENTITY_PUBLIC
label: "ZEROTIER_IDENTITY_PUBLIC"
description: "The identity.public file for zerotier-one. Use zerotier-idtool to generate one of these for you."
schema:
type: string
default: ""
private: true
- variable: ZEROTIER_IDENTITY_SECRET
label: "ZEROTIER_IDENTITY_SECRET"
description: "The identity.secret file for zerotier-one. Use zerotier-idtool to generate one of these for you."
schema:
type: string
default: ""
private: true
# Include{containerConfig}

View File

@@ -14,6 +14,11 @@ podSecurityContext:
runAsUser: 0
runAsGroup: 0
secret:
ZEROTIER_API_SECRET: ""
ZEROTIER_IDENTITY_PUBLIC: ""
ZEROTIER_IDENTITY_SECRET: ""
service:
main:
ports: