feat: Add VPN addon and move some config to includes (#973)

* add addon include to all apps

* move groups to include

* move controller to includes

* move container config to include

* move serviceList to include

* move persistence list to includes

* move ingressList to includes

* fix appdaemon digest

* move deviceList to includes and add to deconz

Fixes #967 related to #966
This commit is contained in:
Kjeld Schouten-Lebbing
2021-09-13 12:58:34 +02:00
committed by GitHub
parent 2ab310abc6
commit 642cf20b7b
101 changed files with 923 additions and 49053 deletions
+6 -138
View File
@@ -1,26 +1,4 @@
groups:
- name: "Container Image"
description: "Image to be used for container"
- name: "Controller"
description: "Configure workload deployment"
- name: "Container Configuration"
description: "additional container configuration"
- name: "App Configuration"
description: "App specific config options"
- name: "Networking and Services"
description: "Configure Network and Services for container"
- name: "Storage and Persistence"
description: "Persist and share data that is separate from the container"
- name: "Ingress"
description: "Ingress Configuration"
- name: "Security and Permissions"
description: "Configure security context and permissions"
- name: "Resources and Devices"
description: "Specify resources/devices to be allocated to workload"
- name: "Middlewares"
description: "Traefik Middlewares"
- name: "Advanced"
description: "Advanced Configuration"
# Include{groups}
portals:
web_portal:
protocols:
@@ -86,99 +64,7 @@ questions:
description: "RollingUpdate: Create new pods and then kill old ones"
- value: "OnDelete"
description: "(Legacy) OnDelete: ignore .spec.template changes"
- variable: labelsList
label: "Controller Labels"
schema:
type: list
default: []
items:
- variable: labelItem
label: "Label"
schema:
type: dict
attrs:
- variable: name
label: "Name"
schema:
type: string
- variable: value
label: "Value"
schema:
type: string
- variable: annotationsList
label: " Controller Annotations"
schema:
type: list
default: []
items:
- variable: annotationItem
label: "Label"
schema:
type: dict
attrs:
- variable: name
label: "Name"
schema:
type: string
- variable: value
label: "Value"
schema:
type: string
- variable: podLabelsList
group: "Container Configuration"
label: "Pod Labels"
schema:
type: list
default: []
items:
- variable: podLabelItem
label: "Label"
schema:
type: dict
attrs:
- variable: name
label: "Name"
schema:
type: string
- variable: value
label: "Value"
schema:
type: string
- variable: podAnnotationsList
group: "Container Configuration"
label: "Pod Annotations"
schema:
type: list
default: []
items:
- variable: podAnnotationItem
label: "Label"
schema:
type: dict
attrs:
- variable: name
label: "Name"
schema:
type: string
- variable: value
label: "Value"
schema:
type: string
- variable: termination
group: "Container Configuration"
label: "Termination settings"
schema:
type: dict
attrs:
- variable: gracePeriodSeconds
label: "Grace Period Seconds"
schema:
type: int
default: 10
# Include{controllerExpert}
- variable: env
@@ -200,27 +86,7 @@ questions:
schema:
type: string
default: "002"
# Configure Enviroment Variables
- variable: envList
label: "Image environment"
group: "Container Configuration"
schema:
type: list
default: []
items:
- variable: envItem
label: "Environment Variable"
schema:
type: dict
attrs:
- variable: name
label: "Name"
schema:
type: string
- variable: value
label: "Value"
schema:
type: string
# Include{containerConfig}
- variable: pilot
label: "Traefik Pilot"
@@ -1223,7 +1089,7 @@ questions:
- variable: autoscaling
group: "Resources and Devices"
label: "Horizontal Pod Autoscaler"
label: "(Advanced) Horizontal Pod Autoscaler"
schema:
type: dict
attrs:
@@ -1260,3 +1126,5 @@ questions:
schema:
type: int
default: 80
# Include{addons}