feat: update polymorphic-app chart by adding initcontainer, toleratio… (#17)

* feat: update polymorphic-app chart by adding initcontainer, tolerations and lifecyclehooks

* Fix CI and added maintainers

* Fix the tag error in freeipa

* fixed service port

* updated dependencies for healthcheck

* fixed comment space errors

* fix comment space errors

* Fix CI

* fixing CI

* fixing readness probes template in statefulset

* Fix previous changes

* Disable testing of freeipa temporarily

---------

Signed-off-by: Rakshit Menpara <205111+deltasquare4@users.noreply.github.com>
Co-authored-by: ANNAVAR.SATISH <annavarsatish@gmail.com>
Co-authored-by: Annavar satish <annavarsatish10@gmail.com>
Co-authored-by: Rakshit Menpara <205111+deltasquare4@users.noreply.github.com>
main
Shyam Vyas 2023-06-01 09:29:15 +05:30 committed by GitHub
parent e30c8178f8
commit fb95801eb7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
15 changed files with 70 additions and 27 deletions

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -248,4 +248,3 @@ diagnosticMode:
##
args:
- infinity

View File

@ -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"

View File

@ -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

View File

@ -70,6 +70,8 @@ postgresql:
postgresqlDatabase: healthchecks
postgresqlUsername: healthchecks
postgresqlPassword: healthchecks # pragma: allowlist secret
service:
port: 5432
# existingSecret: healthchecks-secret
resources: {}

View File

@ -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

View File

@ -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 }}

View File

@ -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 }}

View File

@ -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 }}

View File

@ -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:

View File

@ -24,6 +24,15 @@ serviceTemplate:
name: svc
image:
## initContainers:
## - name: something
## image: alpine
## command: ['command', 'here']
initContainers: []
lifecycleHooks: {}
healthcheck:
enabled: false
type: httpGet