migrate(rimgo): Migrate rimgo to new common (#14592)

Updates rimgo and migrates it to the new common

I'm going to look and compare questions.yaml to see if anything needs to
be changed but tbh I'm not sure so feel free to give input on that.

**⚙️ Type of change**

- [ ] ⚙️ Feature/App addition
- [ ] 🪛 Bugfix
- [ ] ⚠️ Breaking change (fix or feature that would cause existing
functionality to not work as expected)
- [x] 🔃 Refactor of current code

**🧪 How Has This Been Tested?**
Tested on local k3s ubuntu server

**✔️ Checklist:**

- [x] ⚖️ My code follows the style guidelines of this project
- [x] 👀 I have performed a self-review of my own code
- [x] #️⃣ I have commented my code, particularly in hard-to-understand
areas
- [x] 📄 I have made corresponding changes to the documentation
- [ ] ⚠️ My changes generate no new warnings
- [x] 🧪 I have added tests to this description that prove my fix is
effective or that my feature works
- [x] ⬆️ I increased versions for any altered app according to semantic
versioning

---------

Signed-off-by: Kjeld Schouten <kjeld@schouten-lebbing.nl>
Co-authored-by: Kjeld Schouten <kjeld@schouten-lebbing.nl>
This commit is contained in:
tuxsudo
2023-11-13 21:13:46 +00:00
committed by GitHub
co-authored by Kjeld Schouten
parent eaafc8a38e
commit 3c307117e4
5 changed files with 49 additions and 46 deletions
+5 -5
View File
@@ -1,12 +1,9 @@
annotations:
truecharts.org/SCALE-support: "true"
truecharts.org/category: Network-Web
apiVersion: v2
appVersion: "latest"
dependencies:
- name: common
repository: https://library-charts.truecharts.org
version: 11.1.2
version: 15.0.1
deprecated: false
description: "Alternative Imgur front-end"
home: https://truecharts.org/charts/incubator/rimgo
@@ -23,4 +20,7 @@ name: rimgo
sources:
- https://github.com/truecharts/charts/tree/master/charts/incubator/rimgo
type: application
version: 2.0.23
version: 3.0.0
annotations:
truecharts.org/SCALE-support: "true"
truecharts.org/category: Network-Web
+26 -28
View File
@@ -6,39 +6,38 @@ questions:
# Include{global}
# Include{workload}
# Include{workloadDeployment}
# Include{replicas1}
# Include{podSpec}
# Include{containerMain}
- variable: env
group: "App Configuration"
label: "Image Environment"
schema:
additional_attrs: true
type: dict
attrs:
- variable: ADDRESS
label: "ADDRESS"
description: "Hosted IP Address"
schema:
type: string
default: "0.0.0.0"
- variable: IMGUR_CLIENT_ID
label: "IMGUR_CLIENT_ID"
description: "Imgur Client ID"
schema:
type: string
default: "546c25a59c58ad7"
- variable: FORCE_WEBP
label: "FORCE_WEBP"
description: "Force WEBP to reduce bandwidth"
schema:
type: string
default: "0"
# Include{containerBasic}
# Include{containerAdvanced}
- variable: env
group: "App Configuration"
label: "Image Environment"
schema:
additional_attrs: true
type: dict
attrs:
- variable: ADDRESS
label: "ADDRESS"
description: "Hosted IP Address"
schema:
type: string
default: "0.0.0.0"
- variable: IMGUR_CLIENT_ID
label: "IMGUR_CLIENT_ID"
description: "Imgur Client ID"
schema:
type: string
default: "546c25a59c58ad7"
- variable: FORCE_WEBP
label: "FORCE_WEBP"
description: "Force WEBP to reduce bandwidth"
schema:
type: string
default: "0"
# Include{containerConfig}
# Include{podOptions}
# Include{serviceRoot}
- variable: main
label: "Main Service"
@@ -79,7 +78,6 @@ questions:
# Include{ingressAdvanced}
# Include{ingressList}
# Include{securityContextRoot}
- variable: runAsUser
label: "runAsUser"
description: "The UserID of the user running the application"
@@ -0,0 +1 @@
{{- include "tc.v1.common.lib.chart.notes" $ -}}
+1 -1
View File
@@ -1,2 +1,2 @@
{{/* Render the templates */}}
{{ include "tc.common.loader.all" . }}
{{ include "tc.v1.common.loader.all" . }}
+16 -12
View File
@@ -1,25 +1,29 @@
env:
ADDRESS: 0.0.0.0
FORCE_WEBP: "0"
IMGUR_CLIENT_ID: 546c25a59c58ad7
image:
pullPolicy: IfNotPresent
repository: tccr.io/truecharts/rimgo
tag: latest@sha256:9532c533dff314bc0edbd5514ca7f0008973ba59f790c3017c0a1c741520a355
tag: latest@sha256:b7ad133ecb482fb454979686a8c590c438f4ad53cd71d6952eb5dc8529ce57df
persistence: {}
podSecurityContext:
runAsGroup: 0
runAsUser: 0
env:
ADDRESS: 0.0.0.0
IMGUR_CLIENT_ID: 546c25a59c58ad7
FORCE_WEBP: "0"
securityContext:
readOnlyRootFilesystem: false
runAsNonRoot: false
container:
readOnlyRootFilesystem: false
runAsNonRoot: false
runAsUser: 0
runAsGroup: 0
service:
main:
ports:
main:
port: 3000
protocol: TCP
protocol: tcp
targetPort: 3000
portal:
enabled: true
open:
enabled: true