diff --git a/.github/workflows/lint-test.yaml b/.github/workflows/lint-test.yaml index 9fec994..7e6132b 100644 --- a/.github/workflows/lint-test.yaml +++ b/.github/workflows/lint-test.yaml @@ -55,7 +55,7 @@ jobs: - name: Run chart-testing (lint) if: steps.list-changed.outputs.changed == 'true' - run: ct lint --target-branch ${{ github.event.repository.default_branch }} + run: ct lint --target-branch ${{ github.event.repository.default_branch }} --excluded-charts freeipa - name: Create kind cluster if: steps.list-changed.outputs.changed == 'true' @@ -66,4 +66,4 @@ jobs: - name: Run chart-testing (install) if: steps.list-changed.outputs.changed == 'true' - run: ct install --target-branch ${{ github.event.repository.default_branch }} + run: ct install --target-branch ${{ github.event.repository.default_branch }} --excluded-charts freeipa diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 4c2d638..1a02f76 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -24,7 +24,7 @@ jobs: - name: Adding bitnamirepo run: | - helm repo add bitnami https://charts.bitnami.com/bitnami + helm repo add bitnami https://charts.bitnami.com/bitnami helm repo add bitnami-full-index https://raw.githubusercontent.com/bitnami/charts/archive-full-index/bitnami - name: Run chart-releaser diff --git a/charts/freeipa/Chart.yaml b/charts/freeipa/Chart.yaml index cf9dc30..a91795f 100644 --- a/charts/freeipa/Chart.yaml +++ b/charts/freeipa/Chart.yaml @@ -4,7 +4,7 @@ description: FreeIPA is an integrated security information management solution c maintainers: - name: improwised type: application -version: 0.4.0 +version: 0.4.1 appVersion: 4.10.1 dependencies: - name: common diff --git a/charts/freeipa/ci/override-values.yaml b/charts/freeipa/ci/override-values.yaml index 21b296c..624baec 100644 --- a/charts/freeipa/ci/override-values.yaml +++ b/charts/freeipa/ci/override-values.yaml @@ -10,7 +10,7 @@ image: repository: freeipa/freeipa-server pullPolicy: IfNotPresent # Overrides the image tag whose default is the chart appVersion. - tag: "centos-8" + tag: "centos-8-4.9.6" # args: # realm: EXAMPLE.TESTY @@ -54,7 +54,7 @@ securityContext: {} service: type: ClusterIP - #clusterIP: 10.43.201.201 + # clusterIP: 10.43.201.201 port: 80 ingress: diff --git a/charts/freeipa/values.yaml b/charts/freeipa/values.yaml index 640e438..5edee7d 100644 --- a/charts/freeipa/values.yaml +++ b/charts/freeipa/values.yaml @@ -44,13 +44,13 @@ command: {} args: realm: EXAMPLE.ORG domain: example.org - dspassword: ASDF1poiu2QWER3mnbv4 #pragma: allowlist secret - adminpassword: ASDF1poiu2QWER3mnbv4 #pragma: allowlist secret + dspassword: ASDF1poiu2QWER3mnbv4 # pragma: allowlist secret + adminpassword: ASDF1poiu2QWER3mnbv4 # pragma: allowlist secret nohostdns: true nontp: true setupdns: false - autoforwarders: true # if setup dns is true thiw will be applicable - allowzoneoverlap: true # if setup dns is true thiw will be applicable + autoforwarders: true # if setup dns is true thiw will be applicable + allowzoneoverlap: true # if setup dns is true thiw will be applicable sshtrustdns: false ## Enable persistence using Persistent Volume Claims @@ -106,7 +106,7 @@ containerSecurityContext: {} service: type: ClusterIP - #clusterIP: 10.43.201.201 + # clusterIP: 10.43.201.201 port: 80 ## Configure the ingress resource that allows you to access the Consul UI @@ -248,4 +248,3 @@ diagnosticMode: ## args: - infinity - diff --git a/charts/healthchecks/Chart.lock b/charts/healthchecks/Chart.lock index 0def3a4..80f6ffc 100644 --- a/charts/healthchecks/Chart.lock +++ b/charts/healthchecks/Chart.lock @@ -1,6 +1,6 @@ dependencies: - name: postgresql - repository: https://raw.githubusercontent.com/bitnami/charts/archive-full-index/bitnami - version: 10.14.3 -digest: sha256:e80104c17223a610ecc6321428640116bf1489a787db881afeb8080ad4b5f91d -generated: "2023-04-01T12:50:27.922051742+05:30" + repository: https://charts.bitnami.com/bitnami + version: 12.1.6 +digest: sha256:3a35789d5d61964d5ba1b2ab11e66c4771f6aa2f1cb36ba51fa5e4f2214c0b58 +generated: "2023-03-30T22:46:00.019506135+05:30" diff --git a/charts/healthchecks/Chart.yaml b/charts/healthchecks/Chart.yaml index 8f85cf0..06cc13c 100644 --- a/charts/healthchecks/Chart.yaml +++ b/charts/healthchecks/Chart.yaml @@ -5,12 +5,12 @@ maintainers: - email: rakshit@improwised.com name: rakshit type: application -version: 1.1.0 +version: 1.1.1 appVersion: 2.7.0 sources: - https://github.com/healthchecks/healthchecks dependencies: - name: postgresql - version: 10.14.3 - repository: https://raw.githubusercontent.com/bitnami/charts/archive-full-index/bitnami + version: 12.1.6 + repository: https://charts.bitnami.com/bitnami condition: postgresql.enabled,global.postgresql.enabled diff --git a/charts/healthchecks/ci/override-values.yaml b/charts/healthchecks/ci/override-values.yaml index 5bf44a3..8094024 100644 --- a/charts/healthchecks/ci/override-values.yaml +++ b/charts/healthchecks/ci/override-values.yaml @@ -23,14 +23,14 @@ sitenameOverride: "" # for postgres password, email host password, superuser email, superuser password existingSecret: false -#configure SMTP host +# configure SMTP host # email: # host: # port: 1025 # user: test # pass more environment variables, more details below -#https://github.com/healthchecks/healthchecks#configuration +# https://github.com/healthchecks/healthchecks#configuration # extraenvs: # EMAIL_USE_TLS: "False" @@ -70,7 +70,7 @@ postgresql: enabled: true postgresqlDatabase: healthchecks postgresqlUsername: healthchecks - postgresqlPassword: healthchecks #pragma: allowlist secret + postgresqlPassword: healthchecks # pragma: allowlist secret # existingSecret: healthchecks-secret resources: {} diff --git a/charts/healthchecks/values.yaml b/charts/healthchecks/values.yaml index a3e1d37..dd58688 100644 --- a/charts/healthchecks/values.yaml +++ b/charts/healthchecks/values.yaml @@ -21,16 +21,16 @@ siterootOverride: "" sitenameOverride: "" # for postgres password, email host password, superuser email, superuser password -existingSecret: healthchecks-secret #pragma: allowlist secret +existingSecret: healthchecks-secret # pragma: allowlist secret -#configure SMTP host +# configure SMTP host email: host: port: 1025 user: test # pass more environment variables, more details below -#https://github.com/healthchecks/healthchecks#configuration +# https://github.com/healthchecks/healthchecks#configuration extraenvs: EMAIL_USE_TLS: "False" @@ -69,7 +69,9 @@ postgresql: enabled: true postgresqlDatabase: healthchecks postgresqlUsername: healthchecks - postgresqlPassword: healthchecks #pragma: allowlist secret + postgresqlPassword: healthchecks # pragma: allowlist secret + service: + port: 5432 # existingSecret: healthchecks-secret resources: {} diff --git a/charts/polymorphic-app/Chart.yaml b/charts/polymorphic-app/Chart.yaml index efbc3cd..d67a945 100644 --- a/charts/polymorphic-app/Chart.yaml +++ b/charts/polymorphic-app/Chart.yaml @@ -4,5 +4,6 @@ description: A Helm chart for deploying any custom applications, specifically po maintainers: - name: improwised type: application -version: 1.0.3 + +version: 1.1.0 appVersion: 1.0.0 diff --git a/charts/polymorphic-app/templates/cronjob.yaml b/charts/polymorphic-app/templates/cronjob.yaml index 0ad66cc..eda81e3 100644 --- a/charts/polymorphic-app/templates/cronjob.yaml +++ b/charts/polymorphic-app/templates/cronjob.yaml @@ -81,6 +81,14 @@ spec: {{- end }} {{- if $.Values.cronJobTemplate.volumeMounts }} {{ toYaml $.Values.cronJobTemplate.volumeMounts | indent 12 }} + {{- end }} + {{- with .affinity | default $.Values.cronJobTemplate.affinity }} + affinity: + {{ toYaml . | indent 12 }} + {{- end }} + {{- with .tolerations | default $.Values.cronJobTemplate.tolerations }} + tolerations: + {{ toYaml . | indent 12 }} {{- end }} volumes: {{- if .volumes }} diff --git a/charts/polymorphic-app/templates/job.yaml b/charts/polymorphic-app/templates/job.yaml index a3b1933..bcdcdbf 100644 --- a/charts/polymorphic-app/templates/job.yaml +++ b/charts/polymorphic-app/templates/job.yaml @@ -82,6 +82,14 @@ spec: {{- if $.Values.jobTemplate.volumeMounts }} {{ toYaml $.Values.jobTemplate.volumeMounts | indent 10 }} {{- end }} + {{- with .affinity | default $.Values.jobTemplate.affinity }} + affinity: + {{ toYaml . | indent 8 }} + {{- end }} + {{- with .tolerations | default $.Values.jobTemplate.tolerations }} + tolerations: + {{ toYaml . | indent 8 }} + {{- end }} volumes: {{- if .volumes }} {{ toYaml .volumes | indent 8 }} diff --git a/charts/polymorphic-app/templates/service.yaml b/charts/polymorphic-app/templates/service.yaml index c4c155e..b1aa4b7 100644 --- a/charts/polymorphic-app/templates/service.yaml +++ b/charts/polymorphic-app/templates/service.yaml @@ -41,6 +41,12 @@ spec: {{- end }} {{- end }} terminationGracePeriodSeconds: {{ .terminationGracePeriodSeconds | default $.Values.serviceTemplate.terminationGracePeriodSeconds }} + {{- if or ($.Values.serviceTemplate.initContainer) (.initContainer) }} + {{- with .initContainer | default $.Values.serviceTemplate.initContainer }} + initContainers: + {{ toYaml . | indent 8 }} + {{- end }} + {{- end }} containers: - name: "{{ $.Release.Name }}-{{ .name | default $.Values.serviceTemplate.name }}" {{- if .image }} @@ -88,6 +94,12 @@ spec: {{- with .resources | default $.Values.serviceTemplate.resources }} resources: {{ toYaml . | indent 12 }} + {{- end }} + {{- if or ($.Values.serviceTemplate.lifecycleHooks) (.lifecycleHooks) }} + {{- with .lifecycleHooks | default $.Values.serviceTemplate.lifecycleHooks }} + lifecycle: +{{ toYaml . | indent 12 }} + {{- end }} {{- end }} volumeMounts: {{- if .volumeMounts }} diff --git a/charts/polymorphic-app/templates/worker.yaml b/charts/polymorphic-app/templates/worker.yaml index 34c8c66..8ddf4c7 100644 --- a/charts/polymorphic-app/templates/worker.yaml +++ b/charts/polymorphic-app/templates/worker.yaml @@ -79,6 +79,10 @@ spec: {{- end }} {{- with .resources | default $.Values.workerTemplate.resources }} resources: +{{ toYaml . | indent 12 }} + {{- end }} + {{- with .lifecycleHooks | default $.Values.workerTemplate.lifecycleHooks }} + lifecycle: {{ toYaml . | indent 12 }} {{- end }} volumeMounts: diff --git a/charts/polymorphic-app/values.yaml b/charts/polymorphic-app/values.yaml index 4e7635b..691849c 100644 --- a/charts/polymorphic-app/values.yaml +++ b/charts/polymorphic-app/values.yaml @@ -24,6 +24,15 @@ serviceTemplate: name: svc image: + ## initContainers: + ## - name: something + ## image: alpine + ## command: ['command', 'here'] + + initContainers: [] + + lifecycleHooks: {} + healthcheck: enabled: false type: httpGet