fix(homelablabelmaker): Cleanup to work with SCALE (#4051)

* fix(homelablabelmaker): Cleanup to work with SCALE

* cleanup

Co-authored-by: Stavros kois <s.kois@outlook.com>
This commit is contained in:
StevenMcElligott
2022-10-10 05:40:36 +00:00
committed by GitHub
co-authored by Stavros kois
parent ccd6f30742
commit fc451024cd
3 changed files with 67 additions and 29 deletions
@@ -28,4 +28,4 @@ sources:
- https://github.com/DavidSpek/homelablabelmaker - https://github.com/DavidSpek/homelablabelmaker
- https://hub.docker.com/r/davidspek/homelablabelmaker/ - https://hub.docker.com/r/davidspek/homelablabelmaker/
type: application type: application
version: 0.0.28 version: 1.0.0
@@ -1,5 +1,7 @@
# Include{groups} # Include{groups}
portals: {} portals:
open:
# Include{portalLink}
questions: questions:
# Include{global} # Include{global}
# Include{controller} # Include{controller}
@@ -10,51 +12,92 @@ questions:
# Include{recreate} # Include{recreate}
# Include{controllerExpert} # Include{controllerExpert}
# Include{controllerExpertExtraArgs} # Include{controllerExpertExtraArgs}
# Include{serviceExpertRoot} # Include{serviceRoot}
- variable: main
label: Main Service
description: The Primary service on which the healthcheck runs, often the webUI
schema:
additional_attrs: true
type: dict
attrs:
# Include{serviceSelectorLoadBalancer}
# Include{serviceSelectorExtras}
- variable: main
label: Main Service Port Configuration
schema:
additional_attrs: true
type: dict
attrs:
- variable: port
label: Port
description: This port exposes the container port on the service
schema:
type: int
default: 10581
required: true
# Include{advancedPortHTTP}
- variable: targetPort
label: Target Port
description: The internal(!) port on the container the Application runs on
schema:
type: int
default: 80
## Include{serviceExpertRoot}
default: false default: false
# Include{serviceExpert} # Include{serviceExpert}
# Include{serviceList} # Include{serviceList}
# Include{persistenceList} # Include{persistenceList}
# Include{ingressRoot}
- variable: main
label: Main Ingress
schema:
additional_attrs: true
type: dict
attrs:
# Include{ingressDefault}
# Include{ingressTLS}
# Include{ingressTraefik}
# Include{ingressExpert}
# Include{ingressList} # Include{ingressList}
# Include{security} # Include{security}
# Include{securityContextAdvancedRoot} # Include{securityContextAdvancedRoot}
- variable: privileged - variable: privileged
label: "Privileged mode" label: Privileged mode
schema: schema:
type: boolean type: boolean
default: false default: false
- variable: readOnlyRootFilesystem - variable: readOnlyRootFilesystem
label: "ReadOnly Root Filesystem" label: ReadOnly Root Filesystem
schema: schema:
type: boolean type: boolean
default: false default: false
- variable: allowPrivilegeEscalation - variable: allowPrivilegeEscalation
label: "Allow Privilege Escalation" label: Allow Privilege Escalation
schema: schema:
type: boolean type: boolean
default: false default: false
- variable: runAsNonRoot - variable: runAsNonRoot
label: "runAsNonRoot" label: runAsNonRoot
schema: schema:
type: boolean type: boolean
default: false default: false
# Include{securityContextAdvanced} # Include{securityContextAdvanced}
# Include{podSecurityContextRoot} # Include{podSecurityContextRoot}
- variable: runAsUser - variable: runAsUser
label: "runAsUser" label: runAsUser
description: "The UserID of the user running the application" description: The UserID of the user running the application
schema: schema:
type: int type: int
default: 0 default: 0
- variable: runAsGroup - variable: runAsGroup
label: "runAsGroup" label: runAsGroup
description: The groupID this App of the user running the application" description: The groupID this App of the user running the application
schema: schema:
type: int type: int
default: 0 default: 0
- variable: fsGroup - variable: fsGroup
label: "fsGroup" label: fsGroup
description: "The group that should own ALL storage." description: The group that should own ALL storage.
schema: schema:
type: int type: int
default: 568 default: 568
+11 -16
View File
@@ -1,28 +1,23 @@
env: {}
image: image:
pullPolicy: IfNotPresent
repository: tccr.io/truecharts/homelablabelmaker repository: tccr.io/truecharts/homelablabelmaker
tag: latest@sha256:a1e41adaafade429f7603b32f603bc809b0bd3ee4433ac382fd803ef979dce73 tag: latest@sha256:a1e41adaafade429f7603b32f603bc809b0bd3ee4433ac382fd803ef979dce73
persistence: {} pullPolicy: IfNotPresent
podSecurityContext:
runAsGroup: 0
runAsUser: 0
probes:
liveness:
enabled: false
readiness:
enabled: false
startup:
enabled: false
securityContext: securityContext:
readOnlyRootFilesystem: false readOnlyRootFilesystem: false
runAsNonRoot: false runAsNonRoot: false
podSecurityContext:
runAsGroup: 0
runAsUser: 0
service: service:
main: main:
enabled: false
ports: ports:
main: main:
enabled: false port: 10581
protocol: HTTP
targetPort: 80
portal: portal:
enabled: false enabled: true