Skip to content

Commit

Permalink
Merge pull request #3 from dysnix/pritunl-updates
Browse files Browse the repository at this point in the history
enable persistence, upgrade to bitnami/mongodb and minor improvments
  • Loading branch information
dennybaa authored Jun 2, 2020
2 parents 4d2172f + b08bada commit 5ec81cb
Show file tree
Hide file tree
Showing 6 changed files with 17 additions and 10 deletions.
1 change: 1 addition & 0 deletions .github/conf/chart-testing.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@ chart-dirs:
- ./
chart-repos:
- stable=https://kubernetes-charts.storage.googleapis.com/
- bitnami=https://charts.bitnami.com/bitnami
4 changes: 2 additions & 2 deletions .github/workflows/lint-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:

- name: Run chart-testing (lint)
id: lint
uses: helm/[email protected].1
uses: helm/[email protected].2
with:
command: lint
config: .github/conf/chart-testing.yaml
Expand All @@ -25,7 +25,7 @@ jobs:
if: steps.lint.outputs.changed == 'true'

- name: Run chart-testing (install)
uses: helm/[email protected].1
uses: helm/[email protected].2
with:
command: install
config: .github/conf/chart-testing.yaml
2 changes: 1 addition & 1 deletion pritunl/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: v1
appVersion: "1.29"
description: A Helm chart for Kubernetes
name: pritunl
version: 0.1.6
version: 0.1.7
home: https://pritunl.com/
sources:
- https://github.com/dysnix/charts
Expand Down
8 changes: 4 additions & 4 deletions pritunl/requirements.lock
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
dependencies:
- name: mongodb
repository: https://kubernetes-charts.storage.googleapis.com/
version: 7.6.0
digest: sha256:1a70189c0a4679d67e6885812b40c1e509cf34731d9e8ef8fa23010756ddfe4c
generated: "2019-12-11T22:35:41.280562804+03:00"
repository: https://charts.bitnami.com/bitnami
version: 7.14.5
digest: sha256:d43bcc403475e238b48680480c6f3edf96105a56aa9aabfc7a0edde0beb046fb
generated: "2020-06-02T23:28:16.702713038+03:00"
4 changes: 2 additions & 2 deletions pritunl/requirements.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
dependencies:
- name: mongodb
version: ~7.6.0
repository: https://kubernetes-charts.storage.googleapis.com/
version: ~7.14.5
repository: https://charts.bitnami.com/bitnami
condition: mongodb.enabled
8 changes: 7 additions & 1 deletion pritunl/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ replicas: 1

image:
repository: dysnix/pritunl
tag: v1.29-r6
tag: v1.29-r7
pullPolicy: IfNotPresent

imagePullSecrets: []
Expand Down Expand Up @@ -89,6 +89,12 @@ mongodb:
enabled: true
mongodbUsername: pritunl
mongodbDatabase: pritunl
mongodbExtraFlags:
- --wiredTigerCacheSizeGB=0.25
persistence:
size: 1Gi
updateStrategy:
type: Recreate

## Custom mongodb URI settings if given
#
Expand Down

0 comments on commit 5ec81cb

Please sign in to comment.