Skip to content

Commit 27a936e

Browse files
Adding 0.0.4 chart version of devtron-utilities
1 parent 172cbfb commit 27a936e

File tree

358 files changed

+23109
-51
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

358 files changed

+23109
-51
lines changed
Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
dependencies:
2+
- name: ingress-nginx
3+
repository: https://kubernetes.github.io/ingress-nginx
4+
version: 4.12.0
5+
- name: cluster-autoscaler
6+
repository: https://kubernetes.github.io/autoscaler
7+
version: 9.46.0
8+
- name: karpenter
9+
repository: oci://public.ecr.aws/karpenter
10+
version: 1.4.0
11+
- name: aws-load-balancer-controller
12+
repository: https://aws.github.io/eks-charts
13+
version: 1.11.0
14+
- name: aws-node-termination-handler
15+
repository: https://aws.github.io/eks-charts
16+
version: 0.21.0
17+
- name: minio
18+
repository: https://charts.min.io/
19+
version: 5.4.0
20+
- name: kcert
21+
repository: https://nabsul.github.io/helm
22+
version: 1.0.7
23+
- name: argocd-certificate-refresh
24+
repository: https://helm.devtron.ai/
25+
version: 0.10.8
26+
- name: k8s-shield
27+
repository: https://helm.devtron.ai/
28+
version: 0.1.0
29+
- name: devtron-backups
30+
repository: https://helm.devtron.ai/
31+
version: 0.2.5
32+
- name: devtron-generic-helm
33+
repository: https://helm.devtron.ai/
34+
version: 0.10.1
35+
- name: holmes
36+
repository: https://robusta-charts.storage.googleapis.com
37+
version: 0.8.1
38+
digest: sha256:a496eecb07ba3de9d4def3cb2afbc652f95ded26af0745559bb6b7da033b33f8
39+
generated: "2025-07-07T17:13:45.33696+05:30"
Lines changed: 49 additions & 50 deletions
Original file line numberDiff line numberDiff line change
@@ -1,69 +1,68 @@
11
apiVersion: v2
2-
name: devtron-utilities
3-
description: Provides essential infrastructure and security utilities such as Nginx/AWS Load Balancer, Devtron Backup, Minio (Blob Storage), Network Policy, Cluster Auto Scaler (Karpenter), and more.
4-
5-
type: application
6-
version: 0.0.2
7-
appVersion: "0.0.1"
8-
sources:
9-
- https://github.com/kubernetes/ingress-nginx
10-
- https://aws.github.io/eks-charts
11-
- https://charts.min.io/
2+
appVersion: 0.0.1
123
dependencies:
13-
- name: ingress-nginx
14-
version: "4.12.0"
4+
- condition: ingress-nginx.enabled
5+
name: ingress-nginx
156
repository: https://kubernetes.github.io/ingress-nginx
16-
condition: ingress-nginx.enabled
17-
- name: cluster-autoscaler
18-
version: "9.46.0"
7+
version: 4.12.0
8+
- condition: cluster-autoscaler.enabled
9+
name: cluster-autoscaler
1910
repository: https://kubernetes.github.io/autoscaler
20-
condition: cluster-autoscaler.enabled
21-
- name: karpenter
22-
version: "1.2.1"
11+
version: 9.46.0
12+
- condition: karpenter.enabled
13+
name: karpenter
2314
repository: oci://public.ecr.aws/karpenter
24-
condition: karpenter.enabled
25-
- name: aws-load-balancer-controller
26-
version: "1.11.0"
15+
version: 1.4.0
16+
- condition: aws-load-balancer-controller.enabled
17+
name: aws-load-balancer-controller
2718
repository: https://aws.github.io/eks-charts
28-
condition: aws-load-balancer-controller.enabled
29-
- name: aws-node-termination-handler
30-
version: "0.21.0"
19+
version: 1.11.0
20+
- condition: aws-node-termination-handler.enabled
21+
name: aws-node-termination-handler
3122
repository: https://aws.github.io/eks-charts
32-
condition: aws-node-termination-handler.enabled
33-
- name: minio
34-
version: "5.4.0"
23+
version: 0.21.0
24+
- condition: minio.enabled
25+
name: minio
3526
repository: https://charts.min.io/
36-
condition: minio.enabled
37-
- name: kcert
38-
version: "1.0.7"
27+
version: 5.4.0
28+
- condition: kcert.enabled
29+
name: kcert
3930
repository: https://nabsul.github.io/helm
40-
condition: kcert.enabled
41-
- name: argocd-certificate-refresh
42-
version: "0.10.8"
31+
version: 1.0.7
32+
- condition: argocd-certificate-refresh.enabled
33+
name: argocd-certificate-refresh
4334
repository: https://helm.devtron.ai/
44-
condition: argocd-certificate-refresh.enabled
45-
- name: k8s-shield
46-
version: "0.1.0"
35+
version: 0.10.8
36+
- condition: k8s-shield.enabled
37+
name: k8s-shield
4738
repository: https://helm.devtron.ai/
48-
condition: k8s-shield.enabled
49-
- name: devtron-backups
50-
version: "0.2.5"
51-
repository: https://helm.devtron.ai/
52-
condition: devtron-backups.enabled
53-
- name: devtron-generic-helm
54-
version: "0.10.1"
39+
version: 0.1.0
40+
- condition: devtron-backups.enabled
41+
name: devtron-backups
5542
repository: https://helm.devtron.ai/
43+
version: 0.2.5
44+
- alias: nodepool
5645
condition: nodepool.enabled
57-
alias: nodepool
58-
- name: holmes
59-
version: "0.8.1"
60-
repository: https://robusta-charts.storage.googleapis.com
46+
name: devtron-generic-helm
47+
repository: https://helm.devtron.ai/
48+
version: 0.10.1
49+
- alias: holmes-ai
6150
condition: holmes-ai.enabled
62-
alias: holmes-ai
63-
64-
51+
name: holmes
52+
repository: https://robusta-charts.storage.googleapis.com
53+
version: 0.8.1
54+
description: Provides essential infrastructure and security utilities such as Nginx/AWS
55+
Load Balancer, Devtron Backup, Minio (Blob Storage), Network Policy, Cluster Auto
56+
Scaler (Karpenter), and more.
6557
maintainers:
6658
- email: badal@devtron.ai
6759
name: Badal Kumar
6860
- email: pawan.mehta@devtron.ai
6961
name: Pawan Kumar
62+
name: devtron-utilities
63+
sources:
64+
- https://github.com/kubernetes/ingress-nginx
65+
- https://aws.github.io/eks-charts
66+
- https://charts.min.io/
67+
type: application
68+
version: 0.0.4
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
apiVersion: v1
2+
appVersion: 0.1.0
3+
description: Helm chart to deploy argocd certificate refresh CronJob.
4+
maintainers:
5+
- email: ajay@devtron.ai
6+
name: Ajay
7+
- email: badal@devtron.ai
8+
name: Badal Kumar
9+
name: argocd-certificate-refresh
10+
version: 0.10.8
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# Devtron helm chart to deploy argocd certificate refresh cronjob
2+
3+
To get the script, please follow this link-: https://github.com/devtron-labs/devtron-utilities/tree/main/scripts/argo-cert-refresh
Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
{{- if $.Values.alert.enabled -}}
2+
{{- if .Capabilities.APIVersions.Has "batch/v1/CronJob" }}
3+
apiVersion: batch/v1
4+
{{- else -}}
5+
apiVersion: batch/v1beta1
6+
{{- end }}
7+
kind: CronJob
8+
metadata:
9+
name: argocd-cert-alert
10+
namespace: {{ $.Values.argocdNamespace| default .Release.Namespace }}
11+
spec:
12+
schedule: {{ $.Values.alert.schedule | quote }}
13+
concurrencyPolicy: Forbid
14+
jobTemplate:
15+
spec:
16+
template:
17+
spec:
18+
{{- if $.Values.podSecurityContext }}
19+
securityContext:
20+
{{ toYaml $.Values.podSecurityContext | indent 12 }}
21+
{{- end }}
22+
serviceAccountName: argocd-cert-sa
23+
serviceAccount: argocd-cert-sa
24+
containers:
25+
- name: argocd-alert-container
26+
image: {{ $.Values.alert.image }}
27+
imagePullPolicy: IfNotPresent
28+
env:
29+
- name: devtronNamespace
30+
value: {{ $.Values.devtronNamespace| default .Release.Namespace }}
31+
- name: argocdNamespace
32+
value: {{ $.Values.argocdNamespace| default .Release.Namespace }}
33+
- name: discordUrl
34+
value: {{ $.Values.alert.discordUrl | quote }}
35+
- name: alertBefore
36+
value: {{ $.Values.alert.alertBefore | quote }}
37+
- name: cronJobRunAfter
38+
value: {{ $.Values.alert.cronJobRunAfter | quote }}
39+
{{- if $.Values.containerSecurityContext }}
40+
securityContext:
41+
{{ toYaml $.Values.containerSecurityContext | indent 14 }}
42+
{{- end}}
43+
restartPolicy: OnFailure
44+
{{- end }}
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
apiVersion: rbac.authorization.k8s.io/v1
2+
kind: ClusterRole
3+
metadata:
4+
name: argocd-cert-role
5+
rules:
6+
- apiGroups:
7+
- ""
8+
- batch
9+
- apps
10+
resources:
11+
- pods
12+
- secrets
13+
- cronjobs
14+
- deployments
15+
verbs:
16+
- create
17+
- get
18+
- watch
19+
- list
20+
- delete
21+
- update
22+
- patch
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
apiVersion: rbac.authorization.k8s.io/v1
2+
kind: ClusterRoleBinding
3+
metadata:
4+
name: argocd-cert-rolebinding
5+
roleRef:
6+
apiGroup: rbac.authorization.k8s.io
7+
kind: ClusterRole
8+
name: argocd-cert-role
9+
subjects:
10+
- kind: ServiceAccount
11+
name: argocd-cert-sa
12+
namespace: {{ $.Values.argocdNamespace| default .Release.Namespace }}
Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
{{- if .Capabilities.APIVersions.Has "batch/v1/CronJob" }}
2+
apiVersion: batch/v1
3+
{{- else -}}
4+
apiVersion: batch/v1beta1
5+
{{- end }}
6+
kind: CronJob
7+
metadata:
8+
name: argocd-cert-cronjob
9+
namespace: {{ $.Values.argocdNamespace| default .Release.Namespace }}
10+
spec:
11+
schedule: {{ $.Values.cronjob.schedule | quote }}
12+
concurrencyPolicy: Forbid
13+
jobTemplate:
14+
spec:
15+
template:
16+
spec:
17+
{{- if $.Values.podSecurityContext }}
18+
securityContext:
19+
{{ toYaml $.Values.podSecurityContext | indent 12 }}
20+
{{- end }}
21+
serviceAccountName: argocd-cert-sa
22+
serviceAccount: argocd-cert-sa
23+
containers:
24+
- name: argocd-cert-cron
25+
image: {{ $.Values.image }}
26+
env:
27+
- name: devtronNamespace
28+
value: {{ $.Values.devtronNamespace| default .Release.Namespace }}
29+
- name: argocdNamespace
30+
value: {{ $.Values.argocdNamespace| default .Release.Namespace }}
31+
- name: clusterType
32+
value: {{ $.Values.clusterType | default "ENTERPRISE" | quote }}
33+
imagePullPolicy: IfNotPresent
34+
command: ["/bin/bash", "-c", "chmod +x argocd.sh && bash argocd.sh"]
35+
{{- if $.Values.containerSecurityContext }}
36+
securityContext:
37+
{{ toYaml $.Values.containerSecurityContext | indent 14 }}
38+
{{- end}}
39+
restartPolicy: OnFailure
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
apiVersion: v1
2+
kind: ServiceAccount
3+
metadata:
4+
name: argocd-cert-sa
5+
namespace: {{ .Release.Namespace }}
6+
7+
Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
# Default values for argocd-certificate-refresh.
2+
# This is a YAML-formatted file.
3+
# Declare variables to be passed into your templates.
4+
5+
6+
# docker image information
7+
image: quay.io/devtron/argocd-cert-refresh:v10
8+
#accepted values are ENTERPRISE & OSS
9+
# clusterType: ENTERPRISE
10+
# If not namespace is provided then by default it will take in which namespace it will deploy
11+
# devtronNamespace: devtroncd
12+
# argocdNamespace: devtroncd
13+
14+
15+
16+
17+
# values for cronjob
18+
#currently it will run At 23:59 on 1st day-of-month in every 6th month
19+
cronjob:
20+
schedule: "59 23 1 */6 *"
21+
22+
23+
24+
25+
#set up this If you need alert for argocd cert expire
26+
alert:
27+
enabled: false
28+
image: quay.io/devtron/argocd-cert-refresh:alert-v9
29+
discordUrl: ""
30+
#Daily At 07:00AM GMT so it will be 12:30PM in IST
31+
schedule: "0 7 * * *"
32+
# if the certificate will expire after 10 days you will get alert
33+
alertBefore: 10
34+
# if the next cron will be run after 2 days you will get alert
35+
cronJobRunAfter: 2
36+
37+
38+
39+
podSecurityContext: {}
40+
# runAsGroup: 1000
41+
# runAsUser: 1000
42+
containerSecurityContext: {}
43+
# allowPrivilegeEscalation: false
44+
# runAsUser: 1000
45+
# runAsNonRoot: true

0 commit comments

Comments
 (0)