File tree Expand file tree Collapse file tree 3 files changed +102
-1
lines changed Expand file tree Collapse file tree 3 files changed +102
-1
lines changed Original file line number Diff line number Diff line change 1+ ---
2+ name : Helm lint and test
3+
4+ on :
5+ pull_request :
6+ branches :
7+ - main
8+
9+ jobs :
10+ lint-test :
11+ runs-on : ubuntu-latest
12+ steps :
13+ - name : Checkout
14+ uses : actions/checkout@v5
15+ with :
16+ fetch-depth : 0
17+
18+ - name : Set up Helm
19+ uses : azure/setup-helm@v4.2.0
20+ with :
21+ version : v3.17.0
22+
23+ - uses : actions/setup-python@v5.3.0
24+ with :
25+ python-version : " 3.x"
26+ check-latest : true
27+
28+ - name : Run helm-docs
29+ uses : losisin/helm-docs-github-action@v1
30+ with :
31+ fail-on-diff : true
32+
33+ - name : Set up chart-testing
34+ uses : helm/chart-testing-action@v2.7.0
35+ with :
36+ version : 3.14.0
37+ yamllint_version : 1.37.1
38+ yamale_version : 6.0.0
39+
40+ - name : Run chart-testing (list-changed)
41+ id : list-changed
42+ run : |
43+ changed=$(ct list-changed --chart-dirs kubernetes/chart --target-branch ${{ github.event.repository.default_branch }})
44+ if [[ -n "$changed" ]]; then
45+ echo "changed=true" >> "$GITHUB_OUTPUT"
46+ fi
47+
48+ - name : Run chart-testing (lint)
49+ if : steps.list-changed.outputs.changed == 'true'
50+ run : ct lint --chart-dirs kubernetes/chart --target-branch ${{ github.event.repository.default_branch }} --lint-conf lintconf.yaml --github-groups
51+
52+ - name : Create kind cluster
53+ if : steps.list-changed.outputs.changed == 'true'
54+ uses : helm/kind-action@v1
55+
56+ - name : Run chart-testing (install)
57+ if : steps.list-changed.outputs.changed == 'true'
58+ run : ct install --chart-dirs kubernetes/chart --target-branch ${{ github.event.repository.default_branch }} --github-groups
Original file line number Diff line number Diff line change 1+ ---
2+ zulip :
3+ password : set-secure-password
4+ environment :
5+ SETTING_ZULIP_ADMINISTRATOR : " admin@example.net"
6+ SETTING_EXTERNAL_HOST : zulip.example.net
7+ ZULIP_AUTH_BACKENDS : " EmailAuthBackend"
8+
9+ memcached :
10+ memcachedPassword : set-secure-password
11+ image :
12+ registry : docker.io
13+ repository : memcached
14+ tag : alpine
15+
16+ rabbitmq :
17+ auth :
18+ password : set-secure-password
19+ erlangCookie : set-secure-password
20+ image :
21+ registry : docker.io
22+ repository : rabbitmq
23+ tag : 4.1
24+
25+ redis :
26+ auth :
27+ password : set-secure-password
28+ image :
29+ registry : docker.io
30+ repository : redis
31+ tag : alpine
32+
33+ postgresql :
34+ auth :
35+ # # postgres admin user password
36+ postgresqlPassword : set-secure-password
37+ # # postgres zulip user password
38+ password : set-secure-password
39+ primary :
40+ containerSecurityContext :
41+ runAsUser : 70
42+ runAsGroup : 70
43+ readOnlyRootFilesystem : false
Original file line number Diff line number Diff line change @@ -71,7 +71,7 @@ include all env variables for Zulip pods
7171- name: DB_HOST_PORT
7272 value: "{ { template " postgresql.v1.service.port" .Subcharts.postgresql } }"
7373- name: DB_USER
74- value: "postgres "
74+ value: "zulip "
7575- name: SETTING_MEMCACHED_LOCATION
7676 value: "{ { template " common.names.fullname" .Subcharts.memcached } }:11211"
7777- name: SETTING_RABBITMQ_HOST
You can’t perform that action at this time.
0 commit comments