fix(cloudflared) update cloudflared to new common (#9288)

**Description**
migrate cloudflared to new common
⚒️ Fixes  # <!--(issue)-->

**⚙️ Type of change**

- [ ] ⚙️ Feature/App addition
- [ ] 🪛 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._
This commit is contained in:
Xstar97TheNoob
2023-06-05 01:12:14 +03:00
committed by GitHub
parent 78c3efe542
commit f42d4e27fa
5 changed files with 43 additions and 35 deletions
+3 -3
View File
@@ -1,9 +1,9 @@
apiVersion: v2
appVersion: "2023.4.2"
appVersion: "2023.5.1"
dependencies:
- name: common
repository: https://library-charts.truecharts.org
version: 11.1.2
version: 12.10.4
deprecated: false
description: Client for Cloudflare Tunnel, a daemon that exposes private services through the Cloudflare edge.
home: https://truecharts.org/charts/incubator/cloudflared
@@ -20,7 +20,7 @@ name: cloudflared
sources:
- https://github.com/truecharts/charts/tree/master/charts/incubator/cloudflared
type: application
version: 4.0.0
version: 5.0.0
annotations:
truecharts.org/catagories: |
- network
@@ -1,3 +1,3 @@
# With the bellow we test both container starts and that tpl is working inside extraArgs list
args: ["tunnel", "--no-autoupdate", "{{ .Values.testTpl }}"]
args: ["tunnel", "--no-autoupdate", "run", "{{ .Values.testTpl }}"]
testTpl: "--hello-world"
+16 -14
View File
@@ -8,22 +8,24 @@ questions:
# Include{replicas1}
# Include{podSpec}
# Include{containerMain}
- variable: cloudflared
group: App Configuration
label: Cloudflared Configuration
schema:
additional_attrs: true
type: dict
attrs:
- variable: token
label: Tunnel Token
description: Token for tunnel (Tunnel managed by Cloudflare not locally)
schema:
type: string
required: true
default: ""
# Include{containerBasic}
# Include{containerAdvanced}
- variable: cloudflared
group: App Configuration
label: Cloudflared Configuration
schema:
additional_attrs: true
type: dict
attrs:
- variable: token
label: Tunnel Token
description: Token for tunnel (Tunnel managed by Cloudflare not locally)
schema:
type: string
required: true
default: ""
# Include{containerConfig}
# Include{podOptions}
@@ -1 +1 @@
{{ include "tc.common.loader.all" . }}
{{ include "tc.v1.common.loader.all" . }}
+22 -16
View File
@@ -1,7 +1,14 @@
image:
repository: tccr.io/truecharts/cloudflared
pullPolicy: IfNotPresent
tag: 2023.4.2@sha256:e5551a0d74e34f7c10af85ca1df3eda34ec9dba13bd1bc550324a2e12f862230
tag: v2023.5.1@sha256:2136a26cb736c3219c523c3dfdfa53efd5834a82cfefcb2b991b47237c0e149f
securityContext:
container:
readOnlyRootFilesystem: false
runAsNonRoot: false
runAsUser: 0
runAsGroup: 0
args:
- tunnel
@@ -13,12 +20,18 @@ args:
cloudflared:
token: ""
securityContext:
runAsNonRoot: false
podSecurityContext:
runAsUser: 0
runAsGroup: 0
workload:
main:
podSpec:
containers:
main:
probes:
liveness:
enabled: false
readiness:
enabled: false
startup:
enabled: false
service:
main:
@@ -27,13 +40,6 @@ service:
main:
enabled: false
probes:
liveness:
enabled: false
readiness:
enabled: false
startup:
enabled: false
portal:
enabled: false
open:
enabled: false