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
|
||||
appVersion: "latest"
|
||||
dependencies:
|
||||
- name: common
|
||||
repository: https://library-charts.truecharts.org
|
||||
version: 10.5.9
|
||||
deprecated: false
|
||||
description: "A simple selfhosted URL shortener with no unnecessary features."
|
||||
home: https://truecharts.org/docs/charts/incubator/simply-shorten
|
||||
description: A dead simple URL shortener.
|
||||
home: https://truecharts.org/docs/charts/stable/simply-shorten
|
||||
icon: https://truecharts.org/img/hotlink-ok/chart-icons/simply-shorten.png
|
||||
keywords:
|
||||
- simply-shorten
|
||||
@@ -30,4 +23,11 @@ sources:
|
||||
- https://gitlab.com/draganczukp/simply-shorten
|
||||
- https://hub.docker.com/r/draganczukp/simply-shorten
|
||||
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{controllerExpert}
|
||||
# Include{controllerExpertExtraArgs}
|
||||
- variable: env
|
||||
- variable: secretEnv
|
||||
group: "Container Configuration"
|
||||
label: "Image Environment"
|
||||
label: "Image Secrets"
|
||||
schema:
|
||||
additional_attrs: true
|
||||
type: dict
|
||||
@@ -23,12 +23,13 @@ questions:
|
||||
label: "username"
|
||||
schema:
|
||||
type: string
|
||||
default: "TrueNAS"
|
||||
default: ""
|
||||
- variable: password
|
||||
label: "password"
|
||||
schema:
|
||||
type: string
|
||||
default: "TrueNAS"
|
||||
private: true
|
||||
default: ""
|
||||
# Include{containerConfig}
|
||||
# Include{serviceRoot}
|
||||
- variable: main
|
||||
@@ -52,7 +53,7 @@ questions:
|
||||
type: int
|
||||
default: 4567
|
||||
required: true
|
||||
# Include{advancedPortTCP}
|
||||
# Include{advancedPortHTTP}
|
||||
- variable: targetPort
|
||||
label: "Target Port"
|
||||
description: "The internal(!) port on the container the Application runs on"
|
||||
@@ -63,6 +64,16 @@ questions:
|
||||
default: false
|
||||
# Include{serviceExpert}
|
||||
# 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{ingressRoot}
|
||||
- variable: main
|
||||
+17
-6
@@ -1,24 +1,35 @@
|
||||
env:
|
||||
password: unraid
|
||||
username: unraid
|
||||
image:
|
||||
pullPolicy: IfNotPresent
|
||||
repository: tccr.io/truecharts/simply-shorten
|
||||
tag: latest@sha256:a3f74beafc532e55b087f7274b3072561e6d0cab9271bf236612b3ad1c3dc4cd
|
||||
persistence: {}
|
||||
tag: v1.1@sha256:40e1ae029e52ef3429ec022e2eeac27639fb102fdaea6802f28cd0d628dc74df
|
||||
|
||||
podSecurityContext:
|
||||
runAsGroup: 0
|
||||
runAsUser: 0
|
||||
|
||||
securityContext:
|
||||
readOnlyRootFilesystem: false
|
||||
runAsNonRoot: false
|
||||
|
||||
secretEnv:
|
||||
password: user
|
||||
username: pass
|
||||
|
||||
env:
|
||||
db_url: "/config/db/urls.sqlite"
|
||||
|
||||
service:
|
||||
main:
|
||||
ports:
|
||||
main:
|
||||
port: 4567
|
||||
protocol: TCP
|
||||
protocol: HTTP
|
||||
targetPort: 4567
|
||||
|
||||
persistence:
|
||||
config:
|
||||
enabled: true
|
||||
mountPath: "/config/db"
|
||||
|
||||
portal:
|
||||
enabled: true
|
||||
Reference in New Issue
Block a user