e75b425294
CI Feature / Load example-gitea-env.conf to pipeline env (push) Successful in 1m10s
CI Feature / Bats tests (push) Failing after 2m8s
acc-tests Cucumber test report
CI Feature / Cucumber tests (push) Successful in 1m57s
CI Feature / Report Summary (push) Successful in 7s
18 lines
552 B
YAML
18 lines
552 B
YAML
{{- if and .Values.persistence.enabled .Values.retention.enabled }}
|
|
apiVersion: v1
|
|
kind: ConfigMap
|
|
metadata:
|
|
name: git-pages-retention
|
|
labels:
|
|
{{- include "git-pages.componentLabels" . | nindent 4 }}
|
|
data:
|
|
retention.json: |
|
|
{{- .Values.retention.rules | toJson | nindent 4 }}
|
|
retention-lib.sh: |
|
|
{{- .Files.Get "files/retention-lib.sh" | nindent 4 }}
|
|
retention-cleanup.sh: |
|
|
{{- .Files.Get "files/retention-cleanup.sh" | nindent 4 }}
|
|
retention-run.sh: |
|
|
{{- .Files.Get "files/retention-run.sh" | nindent 4 }}
|
|
{{- end }}
|