migrate(firefox) migrate firefox to new common (#9318)

**Description**
<!--
Please include a summary of the change and which issue is fixed. Please
also include relevant motivation and context. List any dependencies that
are required for this change.
-->
⚒️ Fixes  # <!--(issue)-->

**⚙️ Type of change**

- [ ] ⚙️ Feature/App addition
- [X] 🪛 Bugfix
- [X] ⚠️ 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?**
<!--
Please describe the tests that you ran to verify your changes. Provide
instructions so we can reproduce. Please also list any relevant details
for your test configuration
-->

**📃 Notes:**
<!-- Please enter any other relevant information here -->

**✔️ Checklist:**

- [X] ⚖️ My code follows the style guidelines of this project
- [X] 👀 I have performed a self-review of my own code
- [ ] #️⃣ I have commented my code, particularly in hard-to-understand
areas
- [ ] 📄 I have made corresponding changes to the documentation
- [ ] ⚠️ My changes generate no new warnings
- [ ] 🧪 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

**➕ App addition**

If this PR is an app addition please make sure you have done the
following.

- [ ] 🪞 I have opened a PR on
[truecharts/containers](https://github.com/truecharts/containers) adding
the container to TrueCharts mirror repo.
- [ ] 🖼️ I have added an icon in the Chart's root directory called
`icon.png`

---

_Please don't blindly check all the boxes. Read them and only check
those that apply.
Those checkboxes are there for the reviewer to see what is this all
about and
the status of this PR with a quick glance._

---------

Signed-off-by: Stavros Kois <47820033+stavros-k@users.noreply.github.com>
Co-authored-by: Stavros Kois <47820033+stavros-k@users.noreply.github.com>
This commit is contained in:
Xstar97TheNoob
2023-06-04 15:54:30 +03:00
committed by GitHub
co-authored by Stavros Kois
parent 9a014bf4aa
commit 652158680f
5 changed files with 67 additions and 47 deletions
+15 -15
View File
@@ -1,28 +1,28 @@
apiVersion: v2 apiVersion: v2
kubeVersion: ">=1.16.0-0" appVersion: "109.0.1"
name: firefox dependencies:
version: 5.0.0 - name: common
appVersion: "101.0.1" repository: https://library-charts.truecharts.org
description: Firefox Browser, also known as Mozilla Firefox or simply Firefox, version: 12.10.4
type: application
deprecated: false deprecated: false
description: a free and open-source web browser developed by the Mozilla Foundation and its subsidiary, the Mozilla Corporation.
home: https://truecharts.org/charts/incubator/firefox home: https://truecharts.org/charts/incubator/firefox
icon: https://truecharts.org/img/hotlink-ok/chart-icons/firefox.png icon: https://truecharts.org/img/hotlink-ok/chart-icons/firefox.png
keywords: keywords:
- firefox - firefox
sources: - browser
- https://github.com/truecharts/charts/tree/master/charts/incubator/firefox kubeVersion: ">=1.16.0-0"
dependencies:
- name: common
repository: https://library-charts.truecharts.org
version: 11.1.2
# condition:
maintainers: maintainers:
- email: info@truecharts.org - email: info@truecharts.org
name: TrueCharts name: TrueCharts
url: https://truecharts.org url: https://truecharts.org
name: firefox
sources:
- https://github.com/truecharts/charts/tree/master/charts/incubator/firefox
- https://github.com/linuxserver/docker-firefox
type: application
version: 6.0.0
annotations: annotations:
truecharts.org/catagories: | truecharts.org/catagories: |
- incubator - browser
truecharts.org/SCALE-support: "true" truecharts.org/SCALE-support: "true"
truecharts.org/grade: U
+22 -20
View File
@@ -10,14 +10,28 @@ questions:
# Include{replicas1} # Include{replicas1}
# Include{podSpec} # Include{podSpec}
# Include{containerMain} # Include{containerMain}
- variable: env
label: Image Environment
schema:
additional_attrs: true
type: dict
attrs:
- variable: TITLE
label: Title
description: The page title displayed on the web browser
schema:
type: string
default: "TrueChartVNC Client"
# Include{containerBasic} # Include{containerBasic}
# Include{containerAdvanced} # Include{containerAdvanced}
# Include{containerConfig} # Include{containerConfig}
# Include{podOptions} # Include{podOptions}
# 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 Minecraft Server runs on
schema: schema:
additional_attrs: true additional_attrs: true
type: dict type: dict
@@ -25,14 +39,14 @@ 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: 10131 default: 10131
@@ -42,28 +56,16 @@ questions:
# Include{serviceList} # Include{serviceList}
# Include{persistenceRoot} # Include{persistenceRoot}
- variable: config - variable: config
label: "App Config Storage" label: App Config Storage
description: "Stores the Application Configuration." description: Stores the Application Config.
schema: schema:
additional_attrs: true additional_attrs: true
type: dict type: dict
attrs: attrs:
# Include{persistenceBasic} # Include{persistenceBasic}
# Include{persistenceList} # Include{persistenceList}
# Include{ingressRoot}
- variable: main
label: "Main Ingress"
schema:
additional_attrs: true
type: dict
attrs:
# Include{ingressDefault}
# Include{ingressTLS}
# Include{ingressTraefik}
# Include{ingressAdvanced}
# Include{ingressList}
# Include{securityContextRoot}
# Include{securityContextRoot}
- 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"
@@ -0,0 +1 @@
{{- include "tc.v1.common.lib.chart.notes" $ -}}
@@ -1 +1 @@
{{ include "tc.common.loader.all" . }} {{ include "tc.v1.common.loader.all" . }}
+28 -11
View File
@@ -1,29 +1,46 @@
image: image:
repository: tccr.io/truecharts/firefox repository: tccr.io/truecharts/firefox
pullPolicy: IfNotPresent pullPolicy: IfNotPresent
tag: 101.0.1@sha256:ed6178aa78fa1d11cad7c86d6554b3d9e903a82aec65ab6d7fb8ea77aeb6810b tag: v109.0.1@sha256:0d5c436afbd776aab406ec12ff2230fa45b4aaba31f75735cca0cde4254fc7ec
securityContext: securityContext:
runAsNonRoot: false container:
readOnlyRootFilesystem: false readOnlyRootFilesystem: false
runAsNonRoot: false
podSecurityContext: runAsUser: 0
runAsUser: 0 runAsGroup: 0
runAsGroup: 0
service: service:
main: main:
ports: ports:
main: main:
targetPort: 3000 protocol: http
port: 10131 port: 10131
workload:
main:
podSpec:
containers:
main:
probes:
liveness:
type: http
readiness:
type: http
startup:
type: http
env:
FM_HOME: "/config"
CUSTOM_PORT: "{{ .Values.service.main.ports.main.port }}"
TITLE: "TrueChartVNC Client"
persistence: persistence:
config: config:
enabled: true enabled: true
mountPath: "/config" mountPath: /config
varrun: varrun:
enabled: true enabled: false
portal: portal:
enabled: true open:
enabled: true