Skip to content

Commit 00f2aa5

Browse files
authored
feat: cloudflared 2024.11.0 and resources added (#36)
1 parent 3ac03d6 commit 00f2aa5

File tree

4 files changed

+18
-4
lines changed

4 files changed

+18
-4
lines changed

charts/cloudflared/Chart.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ maintainers:
33
- name: kubitodev
44
url: https://kubito.dev
55
apiVersion: v2
6-
appVersion: 2024.10.0
7-
version: 1.5.1
6+
appVersion: 2024.11.0
7+
version: 1.5.2
88
description: Kubito Cloudflared (Argo Tunnel) Helm Chart
99
home: https://github.com/kubitodev/helm/tree/main/charts/cloudflared
1010
icon: https://kubito.dev/images/kubito.svg

charts/cloudflared/README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ The command removes all the Kubernetes components associated with the chart and
4848
| Name | Description | Value |
4949
| ----------------------- | --------------------------------------------- | ------------------------ |
5050
| `image.repository` | The Docker repository to pull the image from. | `cloudflare/cloudflared` |
51-
| `image.tag` | The image tag to use. | `2024.10.0` |
51+
| `image.tag` | The image tag to use. | `2024.11.0` |
5252
| `image.imagePullPolicy` | The logic of image pulling. | `IfNotPresent` |
5353

5454
### Deployment parameters
@@ -59,6 +59,7 @@ The command removes all the Kubernetes components associated with the chart and
5959
| `affinity` | If specified, the pod's scheduling constraints. Affinity is a group of affinity scheduling rules. | `{}` |
6060
| `tolerations` | Tolerates any taint that matches the triple `<key,value,effect>` using the matching operator `<operator>`. | `[]` |
6161
| `topologySpreadConstraints` | Control how pods are spread across your cluster among failure-domains such as regions, zones, nodes, and other user-defined topology domains. | `[]` |
62+
| `resources` | If specified, it sets the resource requests and limits for the pod. | `{}` |
6263
| `logLevel` | The log level to use for the tunnel. | `info` |
6364
| `priorityClassName` | The priority class name to use for the tunnel. | `""` |
6465
| `metrics.enabled` | Enable metrics for prometheus monitoring. The crd monitoring.coreos.com/v1 must be already installed on the target. | `false` |

charts/cloudflared/templates/deployment.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,10 @@ spec:
7070
name: cloudflared-config-volume
7171
subPath: config.yaml
7272
{{- end }}
73+
{{- with .Values.resources }}
74+
resources:
75+
{{- toYaml . | nindent 10 }}
76+
{{- end }}
7377
restartPolicy: Always
7478
terminationGracePeriodSeconds: 30
7579
{{- if .Values.priorityClassName }}

charts/cloudflared/values.yaml

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
##
99
image:
1010
repository: cloudflare/cloudflared
11-
tag: "2024.10.0"
11+
tag: "2024.11.0"
1212
imagePullPolicy: IfNotPresent
1313

1414
## @section Deployment parameters
@@ -17,11 +17,20 @@ image:
1717
## @param affinity If specified, the pod's scheduling constraints. Affinity is a group of affinity scheduling rules.
1818
## @param tolerations Tolerates any taint that matches the triple `<key,value,effect>` using the matching operator `<operator>`.
1919
## @param topologySpreadConstraints Control how pods are spread across your cluster among failure-domains such as regions, zones, nodes, and other user-defined topology domains.
20+
## @param resources If specified, it sets the resource requests and limits for the pod.
2021
##
2122
replicaCount: 1
2223
affinity: {}
2324
tolerations: []
2425
topologySpreadConstraints: []
26+
resources: {}
27+
# resources:
28+
# limits:
29+
# cpu: 100m
30+
# memory: 128Mi
31+
# requests:
32+
# cpu: 100m
33+
# memory: 128Mi
2534

2635
## @param logLevel The log level to use for the tunnel.
2736
logLevel: info

0 commit comments

Comments
 (0)