feat(stable): BREAKING CHANGE migrate to new common part 5 (#8615)

**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
- [ ] 🪛 Bugfix
- [ ] ⚠️ Breaking change (fix or feature that would cause existing
functionality to not work as expected)
- [ ] 🔃 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:**

- [ ] ⚖️ My code follows the style guidelines of this project
- [ ] 👀 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
- [ ] ⬆️ 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._
This commit is contained in:
Kjeld Schouten-Lebbing
2023-04-30 21:15:20 +02:00
committed by GitHub
parent a761da70fd
commit cc4a7edb53
81 changed files with 1867 additions and 1694 deletions
+2 -3
View File
@@ -3,7 +3,7 @@ appVersion: "23.02.2"
dependencies:
- name: common
repository: https://library-charts.truecharts.org
version: 11.1.2
version: 12.6.1
deprecated: false
description: PuTTY is a free and open-source terminal emulator, serial console and network file transfer application.
home: https://truecharts.org/charts/stable/putty
@@ -21,9 +21,8 @@ sources:
- https://github.com/truecharts/charts/tree/master/charts/stable/putty
- https://github.com/jlesage/docker-putty
type: application
version: 3.0.12
version: 4.0.0
annotations:
truecharts.org/catagories: |
- utilities
truecharts.org/SCALE-support: "true"
truecharts.org/grade: U
+24 -21
View File
@@ -11,23 +11,24 @@ questions:
# Include{replicas1}
# Include{podSpec}
# Include{containerMain}
- variable: env
group: "App Configuration"
label: "Image Environment"
schema:
additional_attrs: true
type: dict
attrs:
- variable: VNC_PASSWORD
label: "VNC_PASSWORD"
description: "Password needed to connect to the application's GUI. See the VNC Password section for more details."
schema:
type: string
private: true
default: ""
# Include{containerBasic}
# Include{containerAdvanced}
- variable: secretEnv
group: "App Configuration"
label: "Image Secrets"
schema:
additional_attrs: true
type: dict
attrs:
- variable: VNC_PASSWORD
label: "VNC_PASSWORD"
description: "Password needed to connect to the application's GUI. See the VNC Password section for more details."
schema:
type: string
private: true
default: ""
- variable: putty
group: "App Configuration"
label: "PuTTY Configuration"
@@ -81,7 +82,9 @@ questions:
schema:
type: boolean
default: false
# Include{containerConfig}
# Include{podOptions}
# Include{serviceRoot}
- variable: main
label: "Main Service"
@@ -160,12 +163,12 @@ 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}
+1
View File
@@ -0,0 +1 @@
{{- include "tc.v1.common.lib.chart.notes" $ -}}
+1 -1
View File
@@ -1 +1 @@
{{ include "tc.common.loader.all" . }}
{{ include "tc.v1.common.loader.all" . }}
+30 -21
View File
@@ -2,15 +2,6 @@ image:
repository: tccr.io/truecharts/putty
tag: 23.02.2@sha256:4bec4d770722ee284dcb7db8250768a62d72a5f29c54ed547458c2450f0676a5
pullPolicy: IfNotPresent
securityContext:
readOnlyRootFilesystem: false
runAsNonRoot: false
podSecurityContext:
runAsUser: 0
runAsGroup: 0
service:
main:
ports:
@@ -24,14 +15,6 @@ service:
enabled: true
port: 10267
targetPort: 5900
envFrom:
- configMapRef:
name: '{{ include "tc.common.names.fullname" . }}-putty'
secretEnv:
VNC_PASSWORD: ""
putty:
KEEP_APP_RUNNING: false
DISPLAY_WIDTH: 1280
@@ -39,7 +22,6 @@ putty:
SECURE_CONNECTION: false
DISABLE_RESTART_SESSION_DIALOG_WINDOW: false
ENABLE_CJK_FONT: false
configmap:
putty:
enabled: true
@@ -50,11 +32,38 @@ configmap:
DISABLE_RESTART_SESSION_DIALOG_WINDOW: '{{ ternary "1" "0" .Values.putty.DISABLE_RESTART_SESSION_DIALOG_WINDOW }}'
DISPLAY_WIDTH: "{{ .Values.putty.DISPLAY_WIDTH }}"
DISPLAY_HEIGHT: "{{ .Values.putty.DISPLAY_HEIGHT }}"
persistence:
config:
enabled: true
mountPath: "/config"
portal:
enabled: true
open:
enabled: true
securityContext:
container:
readOnlyRootFilesystem: false
runAsNonRoot: false
runAsUser: 0
runAsGroup: 0
workload:
main:
podSpec:
containers:
main:
securityContext:
capabilities:
add:
- NET_BIND_SERVICE
- KILL
probes:
liveness:
type: tcp
readiness:
type: tcp
startup:
type: tcp
env:
VNC_PASSWORD: ""
envFrom:
- configMapRef:
name: "putty"