fix(keeweb) code cleanup + add http port (#3941)

* fix(keeweb) code cleanup + add http port

* remove excess space

* fix advancedPortHTTP

* some changes

* some more

Co-authored-by: Stavros Kois <47820033+stavros-k@users.noreply.github.com>
This commit is contained in:
Xstar97 2022-09-28 02:10:48 -04:00 committed by GitHub
parent 5d69447675
commit af0f2181e7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 92 additions and 39 deletions

View File

@ -1,18 +1,10 @@
annotations:
truecharts.org/SCALE-support: "true"
truecharts.org/catagories: |
- Productivity
- Tools-Utilities
- Network-Web
- Network-Management
apiVersion: v2 apiVersion: v2
appVersion: "latest" appVersion: "latest"
dependencies: dependencies:
- name: common - name: common
repository: https://library-charts.truecharts.org repository: https://library-charts.truecharts.org
version: 10.6.4 version: 10.6.4
deprecated: false description: This webapp is a browser and desktop password manager compatible with KeePass databases. It doesn't require any server or additional resources. The app can run either in browser, or as a desktop app.
description: "This webapp is a browser and desktop password manager compatible with KeePass databases. It doesn't require any server or additional resources. The app can run either in browser, or as a desktop app."
home: https://truecharts.org/docs/charts/incubator/keeweb home: https://truecharts.org/docs/charts/incubator/keeweb
icon: https://truecharts.org/img/hotlink-ok/chart-icons/keeweb.png icon: https://truecharts.org/img/hotlink-ok/chart-icons/keeweb.png
keywords: keywords:
@ -31,5 +23,12 @@ sources:
- https://github.com/truecharts/charts/tree/master/charts/incubator/keeweb - https://github.com/truecharts/charts/tree/master/charts/incubator/keeweb
- https://github.com/keeweb/keeweb - https://github.com/keeweb/keeweb
- https://hub.docker.com/r/antelle/keeweb - https://hub.docker.com/r/antelle/keeweb
type: application version: 0.0.27
version: 0.0.26 annotations:
truecharts.org/catagories: |
- Productivity
- Tools-Utilities
- Network-Web
- Network-Management
truecharts.org/SCALE-support: "true"
truecharts.org/grade: U

View File

@ -15,8 +15,8 @@ questions:
# Include{containerConfig} # Include{containerConfig}
# Include{serviceRoot} # Include{serviceRoot}
- variable: main - variable: main
label: "Main Service" label: Main Service
description: "The Primary service on which the healthcheck runs, often the webUI" description: The Primary service on which the healthcheck runs, often the webUI
schema: schema:
additional_attrs: true additional_attrs: true
type: dict type: dict
@ -24,33 +24,62 @@ questions:
# Include{serviceSelectorLoadBalancer} # Include{serviceSelectorLoadBalancer}
# Include{serviceSelectorExtras} # Include{serviceSelectorExtras}
- variable: main - variable: main
label: "Main Service Port Configuration" label: Main Service Port Configuration
schema: schema:
additional_attrs: true additional_attrs: true
type: dict type: dict
attrs: attrs:
- variable: port - variable: port
label: "Port" label: Port
description: "This port exposes the container port on the service" description: This port exposes the container port on the service
schema: schema:
type: int type: int
default: 8003 default: 8003
required: true required: true
# Include{advancedPortTCP} # Include{advancedPortHTTPS}
- variable: targetPort - variable: targetPort
label: "Target Port" label: Target Port
description: "The internal(!) port on the container the Application runs on" description: The internal(!) port on the container the Application runs on
schema: schema:
type: int type: int
default: 443 default: 443
- variable: http
label: HTTP Service
description: The HTTP service
schema:
additional_attrs: true
type: dict
attrs:
# Include{serviceSelectorLoadBalancer}
# Include{serviceSelectorExtras}
- variable: http
label: HTTP 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: 8004
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} # Include{serviceExpertRoot}
default: false default: false
# Include{serviceExpert} # Include{serviceExpert}
# Include{serviceList} # Include{serviceList}
# Include{persistenceRoot} # Include{persistenceRoot}
- variable: storagenginx - variable: nginx
label: "storagenginx Storage" label: nginx Storage
description: "Place here your files dh.pem, cert.pem and key.pem." description: Place here your files dh.pem, cert.pem and key.pem.
schema: schema:
additional_attrs: true additional_attrs: true
type: dict type: dict
@ -60,7 +89,17 @@ questions:
# Include{persistenceList} # Include{persistenceList}
# Include{ingressRoot} # Include{ingressRoot}
- variable: main - variable: main
label: "Main Ingress" label: Main Ingress
schema:
additional_attrs: true
type: dict
attrs:
# Include{ingressDefault}
# Include{ingressTLS}
# Include{ingressTraefik}
# Include{ingressExpert}
- variable: http
label: HTTP Ingress
schema: schema:
additional_attrs: true additional_attrs: true
type: dict type: dict
@ -73,42 +112,42 @@ questions:
# 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

View File

@ -1,25 +1,40 @@
env: {}
image: image:
pullPolicy: IfNotPresent pullPolicy: IfNotPresent
repository: tccr.io/truecharts/keeweb repository: tccr.io/truecharts/keeweb
tag: latest@sha256:0a32848c665a36a3c3e06fd97fa6cc2b929aaa158677344f24c8ce369b780f3b tag: latest@sha256:0a32848c665a36a3c3e06fd97fa6cc2b929aaa158677344f24c8ce369b780f3b
persistence:
storagenginx:
enabled: true
mountPath: /etc/nginx/external/
podSecurityContext: podSecurityContext:
runAsGroup: 0 runAsGroup: 0
runAsUser: 0 runAsUser: 0
securityContext: securityContext:
readOnlyRootFilesystem: false readOnlyRootFilesystem: false
runAsNonRoot: false runAsNonRoot: false
service: service:
main: main:
ports: ports:
main: main:
port: 8003 port: 8003
protocol: TCP protocol: HTTPS
targetPort: 443 targetPort: 443
http:
enabled: true
ports:
http:
enabled: true
port: 8004
protocol: HTTP
targetPort: 80
ingress:
http:
autoLink: true
persistence:
nginx:
enabled: true
mountPath: /etc/nginx/external
portal: portal:
enabled: true enabled: true