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
parent
e30c8178f8
commit
fb95801eb7
|
|
@ -55,7 +55,7 @@ jobs:
|
||||||
|
|
||||||
- name: Run chart-testing (lint)
|
- name: Run chart-testing (lint)
|
||||||
if: steps.list-changed.outputs.changed == 'true'
|
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
|
- name: Create kind cluster
|
||||||
if: steps.list-changed.outputs.changed == 'true'
|
if: steps.list-changed.outputs.changed == 'true'
|
||||||
|
|
@ -66,4 +66,4 @@ jobs:
|
||||||
|
|
||||||
- name: Run chart-testing (install)
|
- name: Run chart-testing (install)
|
||||||
if: steps.list-changed.outputs.changed == 'true'
|
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
|
||||||
|
|
|
||||||
|
|
@ -4,7 +4,7 @@ description: FreeIPA is an integrated security information management solution c
|
||||||
maintainers:
|
maintainers:
|
||||||
- name: improwised
|
- name: improwised
|
||||||
type: application
|
type: application
|
||||||
version: 0.4.0
|
version: 0.4.1
|
||||||
appVersion: 4.10.1
|
appVersion: 4.10.1
|
||||||
dependencies:
|
dependencies:
|
||||||
- name: common
|
- name: common
|
||||||
|
|
|
||||||
|
|
@ -10,7 +10,7 @@ image:
|
||||||
repository: freeipa/freeipa-server
|
repository: freeipa/freeipa-server
|
||||||
pullPolicy: IfNotPresent
|
pullPolicy: IfNotPresent
|
||||||
# Overrides the image tag whose default is the chart appVersion.
|
# Overrides the image tag whose default is the chart appVersion.
|
||||||
tag: "centos-8"
|
tag: "centos-8-4.9.6"
|
||||||
|
|
||||||
# args:
|
# args:
|
||||||
# realm: EXAMPLE.TESTY
|
# realm: EXAMPLE.TESTY
|
||||||
|
|
|
||||||
|
|
@ -248,4 +248,3 @@ diagnosticMode:
|
||||||
##
|
##
|
||||||
args:
|
args:
|
||||||
- infinity
|
- infinity
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
dependencies:
|
dependencies:
|
||||||
- name: postgresql
|
- name: postgresql
|
||||||
repository: https://raw.githubusercontent.com/bitnami/charts/archive-full-index/bitnami
|
repository: https://charts.bitnami.com/bitnami
|
||||||
version: 10.14.3
|
version: 12.1.6
|
||||||
digest: sha256:e80104c17223a610ecc6321428640116bf1489a787db881afeb8080ad4b5f91d
|
digest: sha256:3a35789d5d61964d5ba1b2ab11e66c4771f6aa2f1cb36ba51fa5e4f2214c0b58
|
||||||
generated: "2023-04-01T12:50:27.922051742+05:30"
|
generated: "2023-03-30T22:46:00.019506135+05:30"
|
||||||
|
|
|
||||||
|
|
@ -5,12 +5,12 @@ maintainers:
|
||||||
- email: rakshit@improwised.com
|
- email: rakshit@improwised.com
|
||||||
name: rakshit
|
name: rakshit
|
||||||
type: application
|
type: application
|
||||||
version: 1.1.0
|
version: 1.1.1
|
||||||
appVersion: 2.7.0
|
appVersion: 2.7.0
|
||||||
sources:
|
sources:
|
||||||
- https://github.com/healthchecks/healthchecks
|
- https://github.com/healthchecks/healthchecks
|
||||||
dependencies:
|
dependencies:
|
||||||
- name: postgresql
|
- name: postgresql
|
||||||
version: 10.14.3
|
version: 12.1.6
|
||||||
repository: https://raw.githubusercontent.com/bitnami/charts/archive-full-index/bitnami
|
repository: https://charts.bitnami.com/bitnami
|
||||||
condition: postgresql.enabled,global.postgresql.enabled
|
condition: postgresql.enabled,global.postgresql.enabled
|
||||||
|
|
|
||||||
|
|
@ -70,6 +70,8 @@ postgresql:
|
||||||
postgresqlDatabase: healthchecks
|
postgresqlDatabase: healthchecks
|
||||||
postgresqlUsername: healthchecks
|
postgresqlUsername: healthchecks
|
||||||
postgresqlPassword: healthchecks # pragma: allowlist secret
|
postgresqlPassword: healthchecks # pragma: allowlist secret
|
||||||
|
service:
|
||||||
|
port: 5432
|
||||||
# existingSecret: healthchecks-secret
|
# existingSecret: healthchecks-secret
|
||||||
|
|
||||||
resources: {}
|
resources: {}
|
||||||
|
|
|
||||||
|
|
@ -4,5 +4,6 @@ description: A Helm chart for deploying any custom applications, specifically po
|
||||||
maintainers:
|
maintainers:
|
||||||
- name: improwised
|
- name: improwised
|
||||||
type: application
|
type: application
|
||||||
version: 1.0.3
|
|
||||||
|
version: 1.1.0
|
||||||
appVersion: 1.0.0
|
appVersion: 1.0.0
|
||||||
|
|
|
||||||
|
|
@ -81,6 +81,14 @@ spec:
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- if $.Values.cronJobTemplate.volumeMounts }}
|
{{- if $.Values.cronJobTemplate.volumeMounts }}
|
||||||
{{ toYaml $.Values.cronJobTemplate.volumeMounts | indent 12 }}
|
{{ 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 }}
|
{{- end }}
|
||||||
volumes:
|
volumes:
|
||||||
{{- if .volumes }}
|
{{- if .volumes }}
|
||||||
|
|
|
||||||
|
|
@ -82,6 +82,14 @@ spec:
|
||||||
{{- if $.Values.jobTemplate.volumeMounts }}
|
{{- if $.Values.jobTemplate.volumeMounts }}
|
||||||
{{ toYaml $.Values.jobTemplate.volumeMounts | indent 10 }}
|
{{ toYaml $.Values.jobTemplate.volumeMounts | indent 10 }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
{{- with .affinity | default $.Values.jobTemplate.affinity }}
|
||||||
|
affinity:
|
||||||
|
{{ toYaml . | indent 8 }}
|
||||||
|
{{- end }}
|
||||||
|
{{- with .tolerations | default $.Values.jobTemplate.tolerations }}
|
||||||
|
tolerations:
|
||||||
|
{{ toYaml . | indent 8 }}
|
||||||
|
{{- end }}
|
||||||
volumes:
|
volumes:
|
||||||
{{- if .volumes }}
|
{{- if .volumes }}
|
||||||
{{ toYaml .volumes | indent 8 }}
|
{{ toYaml .volumes | indent 8 }}
|
||||||
|
|
|
||||||
|
|
@ -41,6 +41,12 @@ spec:
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
terminationGracePeriodSeconds: {{ .terminationGracePeriodSeconds | default $.Values.serviceTemplate.terminationGracePeriodSeconds }}
|
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:
|
containers:
|
||||||
- name: "{{ $.Release.Name }}-{{ .name | default $.Values.serviceTemplate.name }}"
|
- name: "{{ $.Release.Name }}-{{ .name | default $.Values.serviceTemplate.name }}"
|
||||||
{{- if .image }}
|
{{- if .image }}
|
||||||
|
|
@ -88,6 +94,12 @@ spec:
|
||||||
{{- with .resources | default $.Values.serviceTemplate.resources }}
|
{{- with .resources | default $.Values.serviceTemplate.resources }}
|
||||||
resources:
|
resources:
|
||||||
{{ toYaml . | indent 12 }}
|
{{ toYaml . | indent 12 }}
|
||||||
|
{{- end }}
|
||||||
|
{{- if or ($.Values.serviceTemplate.lifecycleHooks) (.lifecycleHooks) }}
|
||||||
|
{{- with .lifecycleHooks | default $.Values.serviceTemplate.lifecycleHooks }}
|
||||||
|
lifecycle:
|
||||||
|
{{ toYaml . | indent 12 }}
|
||||||
|
{{- end }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
{{- if .volumeMounts }}
|
{{- if .volumeMounts }}
|
||||||
|
|
|
||||||
|
|
@ -79,6 +79,10 @@ spec:
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- with .resources | default $.Values.workerTemplate.resources }}
|
{{- with .resources | default $.Values.workerTemplate.resources }}
|
||||||
resources:
|
resources:
|
||||||
|
{{ toYaml . | indent 12 }}
|
||||||
|
{{- end }}
|
||||||
|
{{- with .lifecycleHooks | default $.Values.workerTemplate.lifecycleHooks }}
|
||||||
|
lifecycle:
|
||||||
{{ toYaml . | indent 12 }}
|
{{ toYaml . | indent 12 }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
|
|
|
||||||
|
|
@ -24,6 +24,15 @@ serviceTemplate:
|
||||||
name: svc
|
name: svc
|
||||||
image:
|
image:
|
||||||
|
|
||||||
|
## initContainers:
|
||||||
|
## - name: something
|
||||||
|
## image: alpine
|
||||||
|
## command: ['command', 'here']
|
||||||
|
|
||||||
|
initContainers: []
|
||||||
|
|
||||||
|
lifecycleHooks: {}
|
||||||
|
|
||||||
healthcheck:
|
healthcheck:
|
||||||
enabled: false
|
enabled: false
|
||||||
type: httpGet
|
type: httpGet
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue