fix(simply-shorten): move to stable. (#3774)
* fix(simply-shorten): move to stable. * Rename README..md to README.md * tweaks * lint Co-authored-by: Stavros Kois <47820033+stavros-k@users.noreply.github.com>
This commit is contained in:
+10
-10
@@ -1,18 +1,11 @@
|
|||||||
annotations:
|
|
||||||
truecharts.org/SCALE-support: "true"
|
|
||||||
truecharts.org/catagories: |
|
|
||||||
- Cloud
|
|
||||||
- Productivity
|
|
||||||
- Network-Web
|
|
||||||
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.5.9
|
version: 10.5.9
|
||||||
deprecated: false
|
description: A dead simple URL shortener.
|
||||||
description: "A simple selfhosted URL shortener with no unnecessary features."
|
home: https://truecharts.org/docs/charts/stable/simply-shorten
|
||||||
home: https://truecharts.org/docs/charts/incubator/simply-shorten
|
|
||||||
icon: https://truecharts.org/img/hotlink-ok/chart-icons/simply-shorten.png
|
icon: https://truecharts.org/img/hotlink-ok/chart-icons/simply-shorten.png
|
||||||
keywords:
|
keywords:
|
||||||
- simply-shorten
|
- simply-shorten
|
||||||
@@ -30,4 +23,11 @@ sources:
|
|||||||
- https://gitlab.com/draganczukp/simply-shorten
|
- https://gitlab.com/draganczukp/simply-shorten
|
||||||
- https://hub.docker.com/r/draganczukp/simply-shorten
|
- https://hub.docker.com/r/draganczukp/simply-shorten
|
||||||
type: application
|
type: application
|
||||||
version: 0.0.23
|
version: 1.0.0
|
||||||
|
annotations:
|
||||||
|
truecharts.org/catagories: |
|
||||||
|
- Cloud
|
||||||
|
- Productivity
|
||||||
|
- Network-Web
|
||||||
|
truecharts.org/SCALE-support: "true"
|
||||||
|
truecharts.org/grade: U
|
||||||
@@ -0,0 +1,14 @@
|
|||||||
|
# Installation Notes
|
||||||
|
|
||||||
|
- Set `username` to a username that is hard to guess.
|
||||||
|
- Set `password` to a password that is hard to guess.
|
||||||
|
|
||||||
|
- Enable ingress, without doing so `http://IP:PORT` will be used as the short url generator which obviously will be an issue.
|
||||||
|
|
||||||
|
- Please follow this [guide](https://truecharts.org/docs/manual/SCALE%20Apps/add-ingress) on adding ingress to a chart.
|
||||||
|
|
||||||
|
## Disable authentication
|
||||||
|
|
||||||
|
- Due to **NOT** being a recommended option you will have to manually add this env yourself.
|
||||||
|
|
||||||
|
- Add an additional env variable `INSECURE_DISABLE_PASSWORD` with the value of `I_KNOW_ITS_BAD` in **Configure Extra Environment Variables**. Any other value will **NOT** work.
|
||||||
|
Before Width: | Height: | Size: 22 KiB After Width: | Height: | Size: 22 KiB |
+16
-5
@@ -12,9 +12,9 @@ questions:
|
|||||||
# Include{recreate}
|
# Include{recreate}
|
||||||
# Include{controllerExpert}
|
# Include{controllerExpert}
|
||||||
# Include{controllerExpertExtraArgs}
|
# Include{controllerExpertExtraArgs}
|
||||||
- variable: env
|
- variable: secretEnv
|
||||||
group: "Container Configuration"
|
group: "Container Configuration"
|
||||||
label: "Image Environment"
|
label: "Image Secrets"
|
||||||
schema:
|
schema:
|
||||||
additional_attrs: true
|
additional_attrs: true
|
||||||
type: dict
|
type: dict
|
||||||
@@ -23,12 +23,13 @@ questions:
|
|||||||
label: "username"
|
label: "username"
|
||||||
schema:
|
schema:
|
||||||
type: string
|
type: string
|
||||||
default: "TrueNAS"
|
default: ""
|
||||||
- variable: password
|
- variable: password
|
||||||
label: "password"
|
label: "password"
|
||||||
schema:
|
schema:
|
||||||
type: string
|
type: string
|
||||||
default: "TrueNAS"
|
private: true
|
||||||
|
default: ""
|
||||||
# Include{containerConfig}
|
# Include{containerConfig}
|
||||||
# Include{serviceRoot}
|
# Include{serviceRoot}
|
||||||
- variable: main
|
- variable: main
|
||||||
@@ -52,7 +53,7 @@ questions:
|
|||||||
type: int
|
type: int
|
||||||
default: 4567
|
default: 4567
|
||||||
required: true
|
required: true
|
||||||
# Include{advancedPortTCP}
|
# Include{advancedPortHTTP}
|
||||||
- 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"
|
||||||
@@ -63,6 +64,16 @@ questions:
|
|||||||
default: false
|
default: false
|
||||||
# Include{serviceExpert}
|
# Include{serviceExpert}
|
||||||
# Include{serviceList}
|
# Include{serviceList}
|
||||||
|
# Include{persistenceRoot}
|
||||||
|
- variable: config
|
||||||
|
label: "App Config Storage"
|
||||||
|
description: "Stores the Application Configuration."
|
||||||
|
schema:
|
||||||
|
additional_attrs: true
|
||||||
|
type: dict
|
||||||
|
attrs:
|
||||||
|
# Include{persistenceBasic}
|
||||||
|
# Include{persistenceAdvanced}
|
||||||
# Include{persistenceList}
|
# Include{persistenceList}
|
||||||
# Include{ingressRoot}
|
# Include{ingressRoot}
|
||||||
- variable: main
|
- variable: main
|
||||||
+17
-6
@@ -1,24 +1,35 @@
|
|||||||
env:
|
|
||||||
password: unraid
|
|
||||||
username: unraid
|
|
||||||
image:
|
image:
|
||||||
pullPolicy: IfNotPresent
|
pullPolicy: IfNotPresent
|
||||||
repository: tccr.io/truecharts/simply-shorten
|
repository: tccr.io/truecharts/simply-shorten
|
||||||
tag: latest@sha256:a3f74beafc532e55b087f7274b3072561e6d0cab9271bf236612b3ad1c3dc4cd
|
tag: v1.1@sha256:40e1ae029e52ef3429ec022e2eeac27639fb102fdaea6802f28cd0d628dc74df
|
||||||
persistence: {}
|
|
||||||
podSecurityContext:
|
podSecurityContext:
|
||||||
runAsGroup: 0
|
runAsGroup: 0
|
||||||
runAsUser: 0
|
runAsUser: 0
|
||||||
|
|
||||||
securityContext:
|
securityContext:
|
||||||
readOnlyRootFilesystem: false
|
readOnlyRootFilesystem: false
|
||||||
runAsNonRoot: false
|
runAsNonRoot: false
|
||||||
|
|
||||||
|
secretEnv:
|
||||||
|
password: user
|
||||||
|
username: pass
|
||||||
|
|
||||||
|
env:
|
||||||
|
db_url: "/config/db/urls.sqlite"
|
||||||
|
|
||||||
service:
|
service:
|
||||||
main:
|
main:
|
||||||
ports:
|
ports:
|
||||||
main:
|
main:
|
||||||
port: 4567
|
port: 4567
|
||||||
protocol: TCP
|
protocol: HTTP
|
||||||
targetPort: 4567
|
targetPort: 4567
|
||||||
|
|
||||||
|
persistence:
|
||||||
|
config:
|
||||||
|
enabled: true
|
||||||
|
mountPath: "/config/db"
|
||||||
|
|
||||||
portal:
|
portal:
|
||||||
enabled: true
|
enabled: true
|
||||||
Reference in New Issue
Block a user