Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

release: PR for v0.7.2 #5480

Merged
merged 213 commits into from
Sep 23, 2024
Merged
Show file tree
Hide file tree
Changes from 187 commits
Commits
Show all changes
213 commits
Select commit Hold shift + click to select a range
4506fce
Updated release-notes files
systemsdt Jul 10, 2024
53d1daa
Updated release notes
systemsdt Jul 10, 2024
9834dd0
Updated latest image of hyperion in installer
systemsdt Jul 11, 2024
75afcce
Updated release-notes files
prakarsh-dt Jul 12, 2024
25b77f0
Updated release-notes files
prakarsh-dt Jul 12, 2024
b6366fa
Updated release-notes files
prakarsh-dt Jul 13, 2024
0ddc25a
Updated release-notes files
prakarsh-dt Jul 14, 2024
89a3914
Updated latest image of ci-runner in installer
systemsdt Jul 15, 2024
d1462bb
Updated latest image of image-scanner in installer
systemsdt Jul 15, 2024
a5bd28c
Updated release-notes files
prakarsh-dt Jul 15, 2024
3281e2f
Updated latest image of hyperion in installer
systemsdt Jul 15, 2024
b7fbf37
Updated release-notes files
prakarsh-dt Jul 16, 2024
7ba0ea8
Updated release-notes files
prakarsh-dt Jul 17, 2024
03bdf81
Updated latest image of image-scanner in installer
systemsdt Jul 18, 2024
4d108da
Updated release-notes files
prakarsh-dt Jul 18, 2024
d059df5
Updated release-notes files
prakarsh-dt Jul 19, 2024
b567471
Updated release-notes files
prakarsh-dt Jul 20, 2024
d599f63
Updated release-notes files
prakarsh-dt Jul 21, 2024
b8c79f7
Updated release-notes files
prakarsh-dt Jul 22, 2024
9716e08
Updated release-notes files
prakarsh-dt Jul 23, 2024
c5f6f0d
Updated release-notes files
prakarsh-dt Jul 24, 2024
e1a8611
Updated latest image of gitsensor in installer
systemsdt Jul 25, 2024
9df845e
Updated latest image of notifier in installer
systemsdt Jul 25, 2024
f11950c
Updated latest image of git-sensor in installer
systemsdt Jul 25, 2024
e051d07
Updated release-notes files
prakarsh-dt Jul 25, 2024
de9fc75
Updated release-notes files
prakarsh-dt Jul 26, 2024
35029cc
Updated release-notes files
prakarsh-dt Jul 27, 2024
1ac379e
Updated release-notes files
prakarsh-dt Jul 28, 2024
df0d08b
Updated latest image of image-scanner in installer
systemsdt Jul 29, 2024
0545472
Updated latest image of image-scanner in installer
systemsdt Jul 29, 2024
9b16b31
Updated latest image of ci-runner in installer
systemsdt Jul 29, 2024
aab7d00
Updated latest image of hyperion in installer
systemsdt Jul 29, 2024
d83920e
Updated release-notes files
prakarsh-dt Jul 29, 2024
9697676
Updated latest image of hyperion in installer
systemsdt Jul 30, 2024
da27658
Updated release-notes files
prakarsh-dt Jul 30, 2024
b6b4cd9
Updated release-notes files
prakarsh-dt Jul 31, 2024
8881279
Updated release-notes files
prakarsh-dt Jul 31, 2024
cdc0823
Updated release-notes files
prakarsh-dt Aug 1, 2024
4288975
Updated release-notes files
prakarsh-dt Aug 2, 2024
2fb813c
Updated release-notes files
prakarsh-dt Aug 3, 2024
ef00834
Updated release-notes files
prakarsh-dt Aug 4, 2024
753c0d3
Updated release-notes files
prakarsh-dt Aug 5, 2024
338551a
Updated release-notes files
prakarsh-dt Aug 6, 2024
c179e12
Updated release-notes files
prakarsh-dt Aug 7, 2024
bc4c19e
Updated release-notes files
prakarsh-dt Aug 9, 2024
01f9c46
Updated release-notes files
prakarsh-dt Aug 9, 2024
e84a357
Updated release-notes files
prakarsh-dt Aug 10, 2024
e9abbd9
Updated release-notes files
prakarsh-dt Aug 11, 2024
3de55e2
Updated latest image of chart-sync in installer
systemsdt Aug 12, 2024
36621b7
Updated release-notes files
prakarsh-dt Aug 12, 2024
b57caff
Updated latest image of image-scanner in installer
systemsdt Aug 12, 2024
c8b7dcb
Updated latest image of chart-sync in installer
systemsdt Aug 12, 2024
4d2fc3a
Updated latest image of hyperion in installer
systemsdt Aug 12, 2024
e23b7b0
Updated release-notes files
prakarsh-dt Aug 13, 2024
6746b1c
Updated release-notes files
prakarsh-dt Aug 14, 2024
7fa300e
Updated release-notes files
prakarsh-dt Aug 15, 2024
e9fea97
Updated release-notes files
prakarsh-dt Aug 16, 2024
1472c91
Updated release-notes files
prakarsh-dt Aug 17, 2024
d0d8817
Updated release-notes files
prakarsh-dt Aug 18, 2024
daecb73
Updated release-notes files
prakarsh-dt Aug 19, 2024
b34b60e
Updated release-notes files
prakarsh-dt Aug 20, 2024
788f043
Updated release-notes files
prakarsh-dt Aug 21, 2024
c1ecac8
Updated release-notes files
prakarsh-dt Aug 22, 2024
f90976a
Updated release-notes files
prakarsh-dt Aug 23, 2024
e08732a
Updated release-notes files
prakarsh-dt Aug 24, 2024
ccf3344
Updated release-notes files
prakarsh-dt Aug 25, 2024
c797d33
Updated latest image of image-scanner in installer
systemsdt Aug 26, 2024
aa12c37
Updated latest image of hyperion in installer
systemsdt Aug 26, 2024
7b67ab8
feat: ServiceAccount Addition and Create ImagePullSecrets Function (#…
akshatsinha007 Aug 26, 2024
8db7179
Updated latest image of dashboard in installer
systemsdt Aug 26, 2024
7aa71d5
Updated latest image of kubewatch in installer
systemsdt Aug 26, 2024
dc06e3b
Updated latest image of ci-runner in installer
systemsdt Aug 26, 2024
40ba40c
Updated latest image of devtron in installer
systemsdt Aug 26, 2024
4e83f98
Updated latest image of git-sensor in installer
systemsdt Aug 26, 2024
a2f4136
Updated latest image of lens in installer
systemsdt Aug 26, 2024
77c3d3f
Updated latest image of kubelink in installer
systemsdt Aug 26, 2024
4ebacdb
Updated latest image of image-scanner in installer
systemsdt Aug 26, 2024
a6a5982
Updated latest image of notifier in installer
systemsdt Aug 26, 2024
1b0bd01
Update release.txt
pawan-mehta-dt Aug 26, 2024
a86fd3f
Updated latest image of hyperion in installer
systemsdt Aug 26, 2024
5ee9602
Update values.yaml
akshatsinha007 Aug 26, 2024
e93f2e6
Update devtron.yaml
akshatsinha007 Aug 26, 2024
a89cfde
Update devtron-bom.yaml
akshatsinha007 Aug 26, 2024
bf35ec5
Merge branch 'main' into release-bot
akshatsinha007 Aug 26, 2024
699e5f4
Updated release-notes files
prakarsh-dt Aug 26, 2024
e4ea49d
Update workflow.yaml
akshatsinha007 Aug 26, 2024
00ad0ac
Update configmap-secret.yaml
akshatsinha007 Aug 26, 2024
ca6197f
Update configmap-secret.yaml
akshatsinha007 Aug 26, 2024
9230df4
Updated release-notes files
prakarsh-dt Aug 27, 2024
47715a5
Update configmap-secret.yaml
akshatsinha007 Aug 28, 2024
6c0120f
Update casbin.yaml
akshatsinha007 Aug 28, 2024
a43a71e
Update values.yaml
akshatsinha007 Aug 28, 2024
dcb189c
Update devtron-bom.yaml
akshatsinha007 Aug 28, 2024
ff826b7
Update casbin.yaml
akshatsinha007 Aug 28, 2024
4c0cb43
Update values.yaml
akshatsinha007 Aug 28, 2024
d72ce4f
Update devtron-bom.yaml
akshatsinha007 Aug 28, 2024
a24180e
Update casbin.yaml
akshatsinha007 Aug 28, 2024
54b33f3
Update values.yaml
akshatsinha007 Aug 28, 2024
ad470cf
Update devtron-bom.yaml
akshatsinha007 Aug 28, 2024
db5c712
Updated latest image of devtron in installer
systemsdt Aug 28, 2024
5439928
Updated latest image of kubelink in installer
systemsdt Aug 28, 2024
02ba8db
Updated latest image of dashboard in installer
systemsdt Aug 28, 2024
993bf6f
Updated latest image of image-scanner in installer
systemsdt Aug 28, 2024
f31b398
Updated latest image of hyperion in installer
systemsdt Aug 28, 2024
a7296b4
Merge branch 'main' into release-bot
akshatsinha007 Aug 28, 2024
12e428e
Updated release-notes files
prakarsh-dt Aug 28, 2024
f41b5f6
Updated release-notes files
prakarsh-dt Aug 29, 2024
f272050
Updated release-notes files
prakarsh-dt Aug 30, 2024
9285851
Updated release-notes files
prakarsh-dt Aug 31, 2024
9bed159
Updated release-notes files
prakarsh-dt Sep 1, 2024
d10350e
Updated latest image of hyperion in installer
systemsdt Sep 2, 2024
be56e68
Updated release-notes files
prakarsh-dt Sep 2, 2024
63cc2c4
Updated release-notes files
prakarsh-dt Sep 3, 2024
31adc7b
Updated release-notes files
prakarsh-dt Sep 4, 2024
d4e429c
Updated release-notes files
prakarsh-dt Sep 5, 2024
27d4cf7
Updated release-notes files
prakarsh-dt Sep 6, 2024
1f0277a
Updated release-notes files
prakarsh-dt Sep 7, 2024
9a024c1
Updated release-notes files
prakarsh-dt Sep 8, 2024
f5141fd
Updated release-notes files
prakarsh-dt Sep 9, 2024
1b6ee4c
Updated latest image of image-scanner in installer
systemsdt Sep 10, 2024
a3f0b9a
Update casbin.yaml
akshatsinha007 Sep 10, 2024
8ab3ffc
Updated latest image of ci-runner in installer
systemsdt Sep 10, 2024
425a0f4
Updated Scoop-Config
akshatsinha007 Sep 10, 2024
bdb658f
Updated latest image of devtron in installer
systemsdt Sep 10, 2024
cbb1480
Updated latest image of kubewatch in installer
systemsdt Sep 10, 2024
c7976c9
Updated latest image of kubelink in installer
systemsdt Sep 10, 2024
7122c1b
Updated latest image of git-sensor in installer
systemsdt Sep 10, 2024
1848356
Updated latest image of lens in installer
systemsdt Sep 10, 2024
bba118c
Updated latest image of dashboard in installer
systemsdt Sep 10, 2024
ae3d728
Updated latest image of ci-runner in installer
systemsdt Sep 10, 2024
53eb70c
Updated latest image of chart-sync in installer
systemsdt Sep 10, 2024
d7446cc
Updated latest image of image-scanner in installer
systemsdt Sep 10, 2024
ad57355
Updated latest image of hyperion in installer
systemsdt Sep 10, 2024
668f9bb
Merge branch 'main' into release-bot
akshatsinha007 Sep 10, 2024
12a7df7
Updated release-notes files
prakarsh-dt Sep 10, 2024
68bb41d
Updated latest image of devtron in installer
systemsdt Sep 10, 2024
1f7178f
Updated release-notes files
prakarsh-dt Sep 11, 2024
8a78471
Updated release-notes files
prakarsh-dt Sep 12, 2024
85c467d
Updated release-notes files
prakarsh-dt Sep 13, 2024
e581400
Updated release-notes files
prakarsh-dt Sep 14, 2024
dbdafd9
Updated release-notes files
prakarsh-dt Sep 15, 2024
39df5f6
Updated release-notes files
prakarsh-dt Sep 16, 2024
be00c7f
Updated release-notes files
prakarsh-dt Sep 17, 2024
0cea89f
Updated latest image of devtron in installer
systemsdt Sep 18, 2024
8c705d7
updated nats port in nats-server.yaml and added INSTALLED_MODULES in …
akshatsinha007 Sep 18, 2024
0c5b063
Updated latest image of kubewatch in installer
systemsdt Sep 18, 2024
6a5aa42
Updated latest image of kubelink in installer
systemsdt Sep 18, 2024
3754314
Updated latest image of devtron in installer
systemsdt Sep 18, 2024
4587590
Updated latest image of git-sensor in installer
systemsdt Sep 18, 2024
af7e4f3
Updated latest image of lens in installer
systemsdt Sep 18, 2024
4093e00
Updated latest image of ci-runner in installer
systemsdt Sep 18, 2024
77e91d5
Updated latest image of notifier in installer
systemsdt Sep 18, 2024
eb8acfb
Updated latest image of chart-sync in installer
systemsdt Sep 18, 2024
323f988
Updated latest image of image-scanner in installer
systemsdt Sep 18, 2024
e43b09b
Updated latest image of hyperion in installer
systemsdt Sep 18, 2024
1eedf1a
Merge branch 'main' into release-bot
akshatsinha007 Sep 18, 2024
ca5da55
Updated release-notes files
prakarsh-dt Sep 18, 2024
139e374
Updated latest image of dashboard in installer
systemsdt Sep 18, 2024
15a860a
Update devtron.yaml
akshatsinha007 Sep 18, 2024
4b1992a
Updated latest image of hyperion in installer
systemsdt Sep 19, 2024
aa60dca
Updated latest image of devtron in installer
systemsdt Sep 19, 2024
adf2f61
Merge branch 'main' into release-bot
akshatsinha007 Sep 19, 2024
ec9cf1d
Updated release-notes files
prakarsh-dt Sep 19, 2024
c4aa1c0
Updated latest image of chart-sync in installer
systemsdt Sep 20, 2024
8fea8e0
Updated release-notes files
prakarsh-dt Sep 20, 2024
b085f63
Updated latest image of kubewatch in installer
systemsdt Sep 21, 2024
f2ffdf4
Updated latest image of devtron in installer
systemsdt Sep 21, 2024
4ac77e9
Updated latest image of kubelink in installer
systemsdt Sep 21, 2024
b669759
Updated release-notes files
prakarsh-dt Sep 21, 2024
b7fc544
Updated latest image of notifier in installer
systemsdt Sep 21, 2024
9c4adf1
Updated latest image of dashboard in installer
systemsdt Sep 21, 2024
dc9bf8f
Updated latest image of hyperion in installer
systemsdt Sep 21, 2024
0e3461e
Merge branch 'main' into release-bot
akshatsinha007 Sep 21, 2024
42096b3
Updated release-notes files
prakarsh-dt Sep 22, 2024
1712fa1
Update casbin.yaml
akshatsinha007 Sep 23, 2024
717df44
Update scoop.yaml
akshatsinha007 Sep 23, 2024
91c8e48
Update releasenotes.md
pawan-mehta-dt Sep 23, 2024
f66951d
Updated latest image of hyperion in installer
systemsdt Sep 23, 2024
859b966
Updated latest image of devtron in installer
systemsdt Sep 23, 2024
65bf29e
Merge branch 'main' into release-bot
akshatsinha007 Sep 23, 2024
4fda021
Update workflow.yaml
akshatsinha007 Sep 23, 2024
5999070
Update update-release-notes.yml
pawan-mehta-dt Sep 23, 2024
4f41adb
Update values.yaml
akshatsinha007 Sep 23, 2024
e81a251
Delete CHANGELOG/release-notes-v0.7.2.md
pawan-mehta-dt Sep 23, 2024
0b5b348
Update values.yaml
akshatsinha007 Sep 23, 2024
a88770b
Update devtron-bom.yaml
akshatsinha007 Sep 23, 2024
afc93c8
Update Chart.yaml
pawan-mehta-dt Sep 23, 2024
282fa42
Update releasenotes.md
vikramdevtron Sep 23, 2024
7e0405f
Update releasenotes.md
vikramdevtron Sep 23, 2024
e8f7357
chore: removes enterprise feature listing of externalCi job
abhibhaw Sep 23, 2024
c054ad1
Update devtron-bom.yaml
akshatsinha007 Sep 23, 2024
bbcaf94
Update values.yaml
akshatsinha007 Sep 23, 2024
6afae07
Update grafana.yaml
akshatsinha007 Sep 23, 2024
a824700
Update minio.yaml
akshatsinha007 Sep 23, 2024
984f44f
Update migrator.yaml
akshatsinha007 Sep 23, 2024
6732365
Update workflow.yaml
akshatsinha007 Sep 23, 2024
8312d6f
Update devtron-installer.yaml
akshatsinha007 Sep 23, 2024
6de59d0
Update installation-script
akshatsinha007 Sep 23, 2024
09e1056
Updated latest image of hyperion in installer
systemsdt Sep 23, 2024
78ee977
Update values.yaml
pawan-mehta-dt Sep 23, 2024
52124ea
Update devtron-bom.yaml
pawan-mehta-dt Sep 23, 2024
59fb431
Update installation-script
pawan-mehta-dt Sep 23, 2024
d169c6a
Update devtron-installer.yaml
pawan-mehta-dt Sep 23, 2024
8e94528
Merge branch 'main' into release-bot
pawan-mehta-dt Sep 23, 2024
e567e2e
Update Chart.yaml
pawan-mehta-dt Sep 23, 2024
5de270a
Update devtron.yaml
pawan-mehta-dt Sep 23, 2024
f15d0c5
Update minio.yaml
akshatsinha007 Sep 23, 2024
7d94d2c
Update minio.yaml
akshatsinha007 Sep 23, 2024
2dea18a
Updated release-notes files
prakarsh-dt Sep 23, 2024
95367b7
Update release-notes-v0.7.2.md
pawan-mehta-dt Sep 23, 2024
b7253cb
Update releasenotes.md
pawan-mehta-dt Sep 23, 2024
396e169
Update migrator.yaml
akshatsinha007 Sep 23, 2024
2feecb6
Update nats-server.yaml
akshatsinha007 Sep 23, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .github/workflows/update-release-notes.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ on:
- closed
branches:
- main
- develop

# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
Expand Down
4 changes: 2 additions & 2 deletions charts/devtron/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
apiVersion: v2
name: devtron-operator
appVersion: 0.7.1
appVersion: 0.7.2
description: Chart to configure and install Devtron. Devtron is a Kubernetes Orchestration system.
keywords:
- Devtron
Expand All @@ -11,7 +11,7 @@ keywords:
- argocd
- Hyperion
engine: gotpl
version: 0.22.73
version: 0.22.74
sources:
- https://github.com/devtron-labs/charts
dependencies:
Expand Down
52 changes: 40 additions & 12 deletions charts/devtron/devtron-bom.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,21 +30,25 @@ components:
ENABLE_CI_JOB: "true"
GLOBAL_API_TIMEOUT: "60000"
TRIGGER_API_TIMEOUT: "60000"
ENABLE_EXTERNAL_ARGO_CD: "false"
ENABLE_EXTERNAL_ARGO_CD: "true"
pawan-mehta-dt marked this conversation as resolved.
Show resolved Hide resolved
SERVICE_WORKER_TIMEOUT: "1"
API_BATCH_SIZE: "30"
FEATURE_EXTERNAL_FLUX_CD_ENABLE: "true"
FEATURE_STEP_WISE_LOGS_ENABLE: "true"
FEATURE_USER_DEFINED_GITOPS_REPO_ENABLE: "true"
ENABLE_RESOURCE_SCAN: "true"
registry: ""
image: "dashboard:5f95d187-690-23841"
image: "dashboard:215319c7-690-25536"
imagePullPolicy: IfNotPresent
devtron:
registry: ""
image: "hyperion:291c4c75-280-23860"
cicdImage: "devtron:291c4c75-434-23853"
image: "hyperion:b5a2f8ba-280-25562"
cicdImage: "devtron:b5a2f8ba-434-25563"
imagePullPolicy: IfNotPresent
customOverrides: {}
ciRunner:
registry: ""
image: "ci-runner:48aca9f4-138-23844"
image: "ci-runner:fd5702db-138-25483"
argocdDexServer:
registry: ""
image: "dex:v2.30.2"
Expand All @@ -53,7 +57,7 @@ components:
authenticator: "authenticator:e414faff-393-13273"
kubelink:
registry: ""
image: "kubelink:0dee6306-564-23843"
image: "kubelink:6ef0fbbe-564-25533"
imagePullPolicy: IfNotPresent
configs:
ENABLE_HELM_RELEASE_CACHE: "true"
Expand All @@ -71,7 +75,7 @@ components:
keyName: postgresql-password
kubewatch:
registry: ""
image: "kubewatch:850b40d5-419-23840"
image: "kubewatch:7c8611f4-419-25531"
imagePullPolicy: IfNotPresent
configs:
devtroncd_NAMESPACE: "devtron-ci"
Expand All @@ -91,7 +95,7 @@ components:
armImage: postgres_exporter:v0.10.1
gitsensor:
registry: ""
image: "git-sensor:86e13283-200-23847"
image: "git-sensor:5b9cf0ec-200-25481"
imagePullPolicy: IfNotPresent
serviceMonitor:
enabled: false
Expand All @@ -109,7 +113,7 @@ components:
# Values for lens
lens:
registry: ""
image: "lens:56211042-333-23839"
image: "lens:9db8a2fb-333-25482"
imagePullPolicy: IfNotPresent
configs:
GIT_SENSOR_PROTOCOL: GRPC
Expand Down Expand Up @@ -154,7 +158,7 @@ components:
DB_NAME: "lens"
chartSync:
registry: ""
image: chart-sync:5a1d0301-150-23845
image: chart-sync:13ffae06-150-25515
# values for argocd integration
argo-cd:
global:
Expand All @@ -174,14 +178,14 @@ workflowController:
IMDSv1ExecutorImage: "argoexec:v3.0.7"
security:
imageScanner:
image: "image-scanner:137872c2-141-23848"
image: "image-scanner:348201f8-141-25486"
clair:
image:
repository: clair
tag: 4.3.6
# Values for notifier integration
notifier:
image: "notifier:9639b1ab-372-23850"
image: "notifier:06392394-372-25535"
minio:
image: "minio:RELEASE.2021-02-14T04-01-33Z"
mbImage: "minio-mc:RELEASE.2021-02-14T04-28-06Z"
Expand All @@ -200,3 +204,27 @@ monitoring:
image: "k8s-sidecar:1.1.0"
curlImage: "curl:7.73.0"
imagePullPolicy: IfNotPresent
devtronEnterprise:
enabled: false
casbin:
registry: ""
image: "casbin:8a0c2298-79f9a6ab-462-24808"
imagePullPolicy: IfNotPresent
configs:
PG_ADDR: postgresql-postgresql.devtroncd
PG_DATABASE: casbin
PG_PORT: "5432"
PG_USER: postgres
dbconfig:
secretName: postgresql-postgresql
keyName: postgresql-password
resources: {}
scoop:
enabled: false
registry: ""
image: "scoop:296d351d-629-24001"
imagePullPolicy: IfNotPresent
resources: {}
configs:
CLUSTER_ID: "1"
ORCHESTRATOR_URL: http://devtron-service.devtroncd.svc.cluster.local/orchestrator
10 changes: 8 additions & 2 deletions charts/devtron/templates/_helpers.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -19,13 +19,19 @@ it randomly.
{{- end -}}
{{- end }}

{{- define "imagePullSecret" }}
{{- with .Values.imagePullSecret.credentials }}
{{- printf "{\"auths\":{\"%s\":{\"username\":\"%s\",\"password\":\"%s\",\"auth\":\"%s\"}}}" .registry .username .password (printf "%s:%s" .username .password | b64enc) | b64enc }}
{{- end }}
{{- end }}

{{/*
Expand the node selectors, tolerations, and image pull secrets for a Kubernetes resource.
Usage:
{{ include "common.nodeSelector" (dict "nodeSelector" .Values.path.to.nodeSelector "tolerations" .Values.path.to.tolerations "imagePullSecrets" .Values.path.to.imagePullSecrets "global" .Values.global ) }}
{{ include "common.schedulerConfig" (dict "nodeSelector" .Values.path.to.nodeSelector "tolerations" .Values.path.to.tolerations "imagePullSecrets" .Values.path.to.imagePullSecrets "global" .Values.global ) }}
*/}}

{{- define "common.nodeSelector" -}}
{{- define "common.schedulerConfig" -}}
{{- if .nodeSelector }}
nodeSelector:
{{ toYaml .nodeSelector | indent 2 }}
Expand Down
5 changes: 3 additions & 2 deletions charts/devtron/templates/app-sync-job.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ spec:
template:
spec:
serviceAccountName: devtron
{{ include "common.nodeSelector" (dict "nodeSelector" $.Values.components.chartSync.nodeSelector "tolerations" $.Values.components.chartSync.tolerations "imagePullSecrets" $.Values.components.chartSync.imagePullSecrets "global" $.Values.global) | indent 6 }}
{{- include "common.schedulerConfig" (dict "nodeSelector" $.Values.components.chartSync.nodeSelector "tolerations" $.Values.components.chartSync.tolerations "imagePullSecrets" $.Values.components.chartSync.imagePullSecrets "global" $.Values.global) | indent 6 }}
initContainers:
- name: migration-wait
image: {{ include "common.image" (dict "component" $.Values.components.migrator "global" $.Values.global "extraImage" $.Values.components.migrator.kubectlImage ) }}
Expand Down Expand Up @@ -75,7 +75,8 @@ spec:
spec:
template:
spec:
{{ include "common.nodeSelector" (dict "nodeSelector" $.Values.components.chartSync.nodeSelector "tolerations" $.Values.components.chartSync.tolerations "imagePullSecrets" $.Values.components.chartSync.imagePullSecrets "global" $.Values.global) | indent 10 }}
serviceAccountName: chart-sync
{{- include "common.schedulerConfig" (dict "nodeSelector" $.Values.components.chartSync.nodeSelector "tolerations" $.Values.components.chartSync.tolerations "imagePullSecrets" $.Values.components.chartSync.imagePullSecrets "global" $.Values.global) | indent 10 }}
{{- if and $.Values.global $.Values.global.podSecurityContext }}
securityContext:
{{- toYaml $.Values.global.podSecurityContext | nindent 12 }}
Expand Down
125 changes: 125 additions & 0 deletions charts/devtron/templates/casbin.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,125 @@
{{- if and .Values.devtronEnterprise.enabled }}
{{- with .Values.devtronEnterprise.casbin }}
---
apiVersion: apps/v1
kind: Deployment
metadata:
labels:
app: casbin
release: casbin
name: casbin
namespace: devtroncd
spec:
minReadySeconds: 60
replicas: 1
revisionHistoryLimit: 3
selector:
matchLabels:
app: casbin
release: casbin
template:
metadata:
labels:
app: casbin
release: casbin
spec:
serviceAccountName: devtron-default-sa
{{- include "common.schedulerConfig" (dict "nodeSelector" $.Values.devtronEnterprise.casbin.nodeSelector "tolerations" $.Values.devtronEnterprise.casbin.tolerations "imagePullSecrets" $.Values.devtronEnterprise.casbin.imagePullSecrets "global" $.Values.global) | indent 6 }}
containers:
- name: casbin
image: {{ include "common.image" (dict "component" $.Values.devtronEnterprise.casbin "global" $.Values.global) }}
{{- if .imagePullPolicy }}
imagePullPolicy: {{ .imagePullPolicy }}
{{- end }}
env:
- name: DEVTRON_APP_NAME
value: casbin
- name: POD_NAME
valueFrom:
fieldRef:
fieldPath: metadata.name
{{- if .dbconfig }}
- name: PG_PASSWORD
valueFrom:
secretKeyRef:
name: {{ .dbconfig.secretName }}
key: {{ .dbconfig.keyName }}
{{- end }}
envFrom:
- configMapRef:
name: casbin-cm
livenessProbe:
failureThreshold: 3
httpGet:
path: /health
port: 8080
initialDelaySeconds: 20
periodSeconds: 10
successThreshold: 1
timeoutSeconds: 5
readinessProbe:
failureThreshold: 3
httpGet:
path: /health
port: 8080
initialDelaySeconds: 20
periodSeconds: 10
successThreshold: 1
timeoutSeconds: 5
ports:
- containerPort: 8080
name: http
protocol: TCP
- containerPort: 9000
name: app
protocol: TCP
{{- if .resources }}
resources:
{{ toYaml .resources | indent 12 }}
{{- end }}
volumeMounts: []
restartPolicy: Always
terminationGracePeriodSeconds: 30
volumes: []
---
# Casbin ConfigMap
apiVersion: v1
kind: ConfigMap
metadata:
name: casbin-cm
namespace: devtroncd
labels:
app: casbin
release: casbin
{{- if .configs }}
data:
{{ toYaml .configs | indent 2 }}
{{- end }}
---
# Casbin Service
apiVersion: v1
kind: Service
metadata:
labels:
app: casbin
release: casbin
annotations:
"helm.sh/resource-policy": keep
name: casbin-service
namespace: devtroncd
spec:
ports:
- name: http
port: 80
protocol: TCP
targetPort: http
- name: app
port: 9000
protocol: TCP
targetPort: app
selector:
app: casbin
release: casbin
type: ClusterIP
{{- end}}
{{- end}}
56 changes: 55 additions & 1 deletion charts/devtron/templates/configmap-secret.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -247,9 +247,9 @@ data:
PG_PASSWORD: {{ $postgresPwd }}
{{- if $.Values.installer.modules }}
{{- if has "cicd" $.Values.installer.modules }}
ORCH_TOKEN: {{ $ORCH_TOKEN }}
EXTERNAL_CI_API_SECRET: {{ $EXTERNAL_CI_API_SECRET }}
WEBHOOK_TOKEN: {{ $WEBHOOK_TOKEN }}
ORCH_TOKEN: {{ $ORCH_TOKEN }}
DEX_SECRET: {{ $DEX_SECRET }}
DEX_JWTKEY: {{ $DEX_JWTKEY }}
DEX_CSTOREKEY: {{ $DEX_CSTOREKEY }}
Expand Down Expand Up @@ -289,3 +289,57 @@ data:
{{- end }}
{{- end }}
type: Opaque

{{- if $.Values.imagePullSecret }}
{{- if $.Values.imagePullSecret.create }}
---
apiVersion: v1
kind: Secret
metadata:
name: {{ default "devtron-image-pull" .Values.imagePullSecret.name }}
namespace: devtroncd
annotations:
"helm.sh/hook": pre-install,pre-upgrade
type: kubernetes.io/dockerconfigjson
data:
.dockerconfigjson: {{ include "imagePullSecret" . }}

{{- if eq .Values.imagePullSecret.namespaceScope "all" }}
---
apiVersion: v1
kind: Secret
metadata:
name: {{ default "devtron-image-pull" .Values.imagePullSecret.name }}
namespace: devtron-cd
annotations:
"helm.sh/hook": pre-install,pre-upgrade
type: kubernetes.io/dockerconfigjson
data:
.dockerconfigjson: {{ include "imagePullSecret" . }}

---
apiVersion: v1
kind: Secret
metadata:
name: {{ default "devtron-image-pull" .Values.imagePullSecret.name }}
namespace: devtron-ci
annotations:
"helm.sh/hook": pre-install,pre-upgrade
type: kubernetes.io/dockerconfigjson
data:
.dockerconfigjson: {{ include "imagePullSecret" . }}

---
apiVersion: v1
kind: Secret
metadata:
name: {{ default "devtron-image-pull" .Values.imagePullSecret.name }}
namespace: argo
annotations:
"helm.sh/hook": pre-install,pre-upgrade
type: kubernetes.io/dockerconfigjson
data:
.dockerconfigjson: {{ include "imagePullSecret" . }}
{{- end }}
{{- end }}
{{- end }}
3 changes: 2 additions & 1 deletion charts/devtron/templates/dashboard.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,8 @@ spec:
securityContext:
{{- toYaml $.Values.global.podSecurityContext | nindent 8 }}
{{- end }}
{{ include "common.nodeSelector" (dict "nodeSelector" $.Values.components.dashboard.nodeSelector "tolerations" $.Values.components.dashboard.tolerations "imagePullSecrets" $.Values.components.dashboard.imagePullSecrets "global" $.Values.global) | indent 6 }}
{{- include "common.schedulerConfig" (dict "nodeSelector" $.Values.components.dashboard.nodeSelector "tolerations" $.Values.components.dashboard.tolerations "imagePullSecrets" $.Values.components.dashboard.imagePullSecrets "global" $.Values.global) | indent 6 }}
serviceAccountName: devtron-default-sa
containers:
- name: dashboard
image: {{ include "common.image" (dict "component" $.Values.components.dashboard "global" $.Values.global) }}
Expand Down
Loading
Loading