Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Chore(stable): BREAKING CHANGE migrate to new common part 2 #7992

Merged
merged 1 commit into from Apr 14, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Expand Up @@ -22,7 +22,7 @@ repos:
- id: fix-byte-order-marker # removes utf-8 byte order marker.
- id: requirements-txt-fixer # sorts entries in requirements.txt.
- id: check-added-large-files # prevents giant files from being committed.
exclude: (icon.*)
exclude: \.(png|jpg|jpeg|svg)$
- id: check-yaml # checks yaml files for parseable syntax.
exclude: (templates\/.*|crds\/.*|questions.yaml|chart_schema.yaml)
- id: detect-private-key # detects the presence of private keys.
Expand Down
5 changes: 2 additions & 3 deletions charts/stable/apache-musicindex/Chart.yaml
Expand Up @@ -3,7 +3,7 @@ appVersion: "1.4.1"
dependencies:
- name: common
repository: https://library-charts.truecharts.org
version: 11.1.2
version: 12.4.9
description: Index and stream music using apache-musicindex and m3u playlists
home: https://truecharts.org/charts/stable/apache-musicindex
icon: https://truecharts.org/img/hotlink-ok/chart-icons/apache-musicindex.png
Expand All @@ -21,9 +21,8 @@ name: apache-musicindex
sources:
- https://github.com/truecharts/charts/tree/master/charts/stable/apache-musicindex
- http://hacks.slashdirt.org/sw/musicindex/
version: 6.0.8
version: 7.0.0
annotations:
truecharts.org/catagories: |
- media
truecharts.org/SCALE-support: "true"
truecharts.org/grade: U
16 changes: 8 additions & 8 deletions charts/stable/apache-musicindex/questions.yaml
Expand Up @@ -10,9 +10,9 @@ questions:
# Include{replicas1}
# Include{podSpec}
# Include{containerMain}

# Include{containerBasic}
# Include{containerAdvanced}

# Include{containerConfig}
# Include{serviceRoot}
- variable: main
Expand Down Expand Up @@ -61,16 +61,16 @@ questions:
schema:
type: int
default: 0
- variable: runAsGroup
label: "runAsGroup"
description: "The groupID this App of the user running the application"
schema:
type: int
default: 0
- variable: runAsGroup
label: "runAsGroup"
description: "The groupID of the user running the application"
schema:
type: int
default: 0
# Include{securityContextContainer}
# Include{securityContextAdvanced}
# Include{securityContextPod}
- variable: fsGroup
- variable: fsGroup
label: "fsGroup"
description: "The group that should own ALL storage."
schema:
Expand Down
1 change: 1 addition & 0 deletions charts/stable/apache-musicindex/templates/NOTES.txt
@@ -0,0 +1 @@
{{- include "tc.v1.common.lib.chart.notes" $ -}}
2 changes: 1 addition & 1 deletion charts/stable/apache-musicindex/templates/common.yaml
@@ -1 +1 @@
{{ include "tc.common.loader.all" . }}
{{ include "tc.v1.common.loader.all" . }}
15 changes: 8 additions & 7 deletions charts/stable/apache-musicindex/values.yaml
Expand Up @@ -4,19 +4,20 @@ image:
pullPolicy: IfNotPresent

securityContext:
readOnlyRootFilesystem: false
runAsNonRoot: false

podSecurityContext:
runAsUser: 0
runAsGroup: 0
container:
readOnlyRootFilesystem: false
runAsNonRoot: false
runAsUser: 0
runAsGroup: 0

service:
main:
ports:
main:
port: 10006
protocol: http
targetPort: 80

portal:
enabled: true
open:
enabled: true
4 changes: 2 additions & 2 deletions charts/stable/apt-cacher-ng/Chart.yaml
Expand Up @@ -3,7 +3,7 @@ appVersion: "3.7.4"
dependencies:
- name: common
repository: https://library-charts.truecharts.org
version: 11.1.2
version: 12.4.9
deprecated: false
description: Apt-Cacher NG is a caching proxy, specialized for package files from Linux distributors, primarily for Debian (and Debian based) distributions but not limited to those.
home: https://truecharts.org/charts/stable/apt-cacher-ng
Expand All @@ -23,7 +23,7 @@ sources:
- https://github.com/truecharts/charts/tree/master/charts/stable/apt-cacher-ng
- https://www.unix-ag.uni-kl.de/~bloch/acng/
type: application
version: 3.0.9
version: 4.0.0
annotations:
truecharts.org/SCALE-support: "true"
truecharts.org/catagories: |
Expand Down
40 changes: 20 additions & 20 deletions charts/stable/apt-cacher-ng/questions.yaml
Expand Up @@ -8,9 +8,9 @@ questions:
# Include{replicas1}
# Include{podSpec}
# Include{containerMain}

# Include{containerBasic}
# Include{containerAdvanced}

# Include{containerConfig}
# Include{serviceRoot}
- variable: main
Expand Down Expand Up @@ -60,28 +60,28 @@ questions:
# Include{ingressTraefik}
# Include{ingressList}

# Include{podSecurityContextRoot}
- variable: runAsUser
label: runAsUser
description: The UserID of the user running the application
schema:
type: int
default: 0
- variable: runAsGroup
label: runAsGroup
description: The groupID this App of the user running the application
schema:
type: int
default: 0
# Include{securityContextRoot}
- variable: runAsUser
label: "runAsUser"
description: "The UserID of the user running the application"
schema:
type: int
default: 0
- variable: runAsGroup
label: "runAsGroup"
description: "The groupID of the user running the application"
schema:
type: int
default: 0
# Include{securityContextContainer}
# Include{securityContextAdvanced}
# Include{securityContextPod}
- variable: fsGroup
label: fsGroup
description: The group that should own ALL storage.
schema:
type: int
default: 568
- variable: fsGroup
label: "fsGroup"
description: "The group that should own ALL storage."
schema:
type: int
default: 568

# Include{resources}
# Include{advanced}
Expand Down
1 change: 1 addition & 0 deletions charts/stable/apt-cacher-ng/templates/NOTES.txt
@@ -0,0 +1 @@
{{- include "tc.v1.common.lib.chart.notes" $ -}}
2 changes: 1 addition & 1 deletion charts/stable/apt-cacher-ng/templates/common.yaml
@@ -1,2 +1,2 @@
{{/* Render the templates */}}
{{ include "tc.common.loader.all" . }}
{{ include "tc.v1.common.loader.all" . }}
16 changes: 8 additions & 8 deletions charts/stable/apt-cacher-ng/values.yaml
Expand Up @@ -3,20 +3,19 @@ image:
repository: tccr.io/truecharts/apt-cacher-ng
tag: v3.7.4@sha256:230be67941a442e6a47f4928cf8d7882d645d1c21752155c42e104e10520ace4

podSecurityContext:
runAsGroup: 0
runAsUser: 0

securityContext:
readOnlyRootFilesystem: false
runAsNonRoot: false
container:
readOnlyRootFilesystem: false
runAsNonRoot: false
runAsGroup: 0
runAsUser: 0

service:
main:
ports:
main:
port: 3142
protocol: TCP
protocol: tcp
targetPort: 3142

persistence:
Expand All @@ -25,4 +24,5 @@ persistence:
mountPath: /var/cache/apt-cacher-ng

portal:
enabled: true
open:
enabled: true
5 changes: 2 additions & 3 deletions charts/stable/aria2/Chart.yaml
Expand Up @@ -3,7 +3,7 @@ appVersion: "latest"
dependencies:
- name: common
repository: https://library-charts.truecharts.org
version: 11.1.2
version: 12.4.9
description: aria server for downloading web content
home: https://truecharts.org/charts/stable/aria2
icon: https://truecharts.org/img/hotlink-ok/chart-icons/aria2.png
Expand All @@ -18,9 +18,8 @@ name: aria2
sources:
- https://github.com/truecharts/charts/tree/master/charts/stable/aria2
- https://github.com/P3TERX/Aria2-Pro-Docker
version: 7.0.9
version: 8.0.0
annotations:
truecharts.org/catagories: |
- media
truecharts.org/SCALE-support: "true"
truecharts.org/grade: U
104 changes: 52 additions & 52 deletions charts/stable/aria2/questions.yaml
Expand Up @@ -8,41 +8,41 @@ questions:
# Include{replicas1}
# Include{podSpec}
# Include{containerMain}

- variable: env
group: "App Configuration"
label: "Image Environment"
schema:
additional_attrs: true
type: dict
attrs:
- variable: RPC_SECRET
label: RPC Secret
description: Set RPC secret authorization token.
schema:
type: string
private: true
default: ""
- variable: DISK_CACHE
label: Disk Cache
description: Set up disk cache. SIZE can include K or M.
schema:
type: string
default: "64M"
- variable: UPDATE_TRACKERS
label: Update Trackers
description: Whether to update BT Trackers List automatically.
schema:
type: boolean
default: true
- variable: CUSTOM_TRACKER_URL
label: Custom Trackers URL
description: Custom BT Trackers List URL.
schema:
type: string
default: "https://trackerslist.com/all_aria2.txt"
# Include{containerBasic}
# Include{containerAdvanced}

- variable: secretEnv
group: App Configuration
label: Image Secrets
schema:
additional_attrs: true
type: dict
attrs:
- variable: RPC_SECRET
label: RPC Secret
description: Set RPC secret authorization token.
schema:
type: string
private: true
default: ""
- variable: DISK_CACHE
label: Disk Cache
description: Set up disk cache. SIZE can include K or M.
schema:
type: string
default: "64M"
- variable: UPDATE_TRACKERS
label: Update Trackers
description: Whether to update BT Trackers List automatically.
schema:
type: boolean
default: true
- variable: CUSTOM_TRACKER_URL
label: Custom Trackers URL
description: Custom BT Trackers List URL.
schema:
type: string
default: "https://trackerslist.com/all_aria2.txt"
# Include{containerConfig}
# Include{serviceRoot}
- variable: main
Expand Down Expand Up @@ -115,28 +115,28 @@ questions:
# Include{ingressTraefik}
# Include{ingressList}

# Include{podSecurityContextRoot}
- variable: runAsUser
label: runAsUser
description: The UserID of the user running the application
schema:
type: int
default: 0
- variable: runAsGroup
label: runAsGroup
description: The groupID this App of the user running the application
schema:
type: int
default: 0
# Include{securityContextRoot}
- variable: runAsUser
label: "runAsUser"
description: "The UserID of the user running the application"
schema:
type: int
default: 0
- variable: runAsGroup
label: "runAsGroup"
description: "The groupID of the user running the application"
schema:
type: int
default: 0
# Include{securityContextContainer}
# Include{securityContextAdvanced}
# Include{securityContextPod}
- variable: fsGroup
label: fsGroup
description: The group that should own ALL storage.
schema:
type: int
default: 568
- variable: fsGroup
label: "fsGroup"
description: "The group that should own ALL storage."
schema:
type: int
default: 568

# Include{resources}
# Include{advanced}
Expand Down
1 change: 1 addition & 0 deletions charts/stable/aria2/templates/NOTES.txt
@@ -0,0 +1 @@
{{- include "tc.v1.common.lib.chart.notes" $ -}}
2 changes: 1 addition & 1 deletion charts/stable/aria2/templates/common.yaml
@@ -1 +1 @@
{{ include "tc.common.loader.all" . }}
{{ include "tc.v1.common.loader.all" . }}