Skip to content

Commit d23a4b1

Browse files
authored
Merge pull request #13 from vshn/add/tls_config
Add TLS for MariaDB and target to push locally
2 parents e180d7e + c52693a commit d23a4b1

File tree

6 files changed

+18
-5
lines changed

6 files changed

+18
-5
lines changed

Makefile

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,3 +64,11 @@ prepare: ## Prepare the charts for testing
6464
@find charts -type f -name Makefile | sed 's|/[^/]*$$||' | xargs -I '%' make -C '%' prepare
6565
@echo 'Check for uncommitted changes ...'
6666
git diff --exit-code
67+
68+
.PHONY: push-local
69+
VERSION=0.0.0
70+
REGISTRY=registry.127.0.0.1.nip.io:8443
71+
push-local: ## Pushes the chart to a local OCI registry
72+
helm package charts/vshnmariadb --version $(VERSION)
73+
helm push vshnmariadb-$(VERSION).tgz oci://$(REGISTRY)/vshnmariadb --insecure-skip-tls-verify
74+
rm vshnmariadb-$(VERSION).tgz

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ helm repo add appcat https://charts.appcat.ch
1515

1616
| Downloads & Changelog | Chart |
1717
| --- | --- |
18-
| [![chart downloads](https://img.shields.io/github/downloads/vshn/appcat-charts/vshnmariadb-0.0.10/total)](https://github.com/vshn/appcat-charts/releases/tag/vshnmariadb-0.0.10) | [vshnmariadb](charts/vshnmariadb/README.md) |
18+
| [![chart downloads](https://img.shields.io/github/downloads/vshn/appcat-charts/vshnmariadb-0.0.11/total)](https://github.com/vshn/appcat-charts/releases/tag/vshnmariadb-0.0.11) | [vshnmariadb](charts/vshnmariadb/README.md) |
1919

2020
## Add / Update Charts
2121

charts/vshnmariadb/Chart.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
apiVersion: v1
2-
appVersion: 0.0.10
2+
appVersion: 0.0.11
33
description: A Helm chart for MariaDB instances using the mariadb-operator
44
name: vshnmariadb
5-
version: 0.0.10
5+
version: 0.0.11
66
maintainers:
77
- name: Schedar Team
88
email: info@vshn.ch

charts/vshnmariadb/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# vshnmariadb
22

3-
![Version: 0.0.10](https://img.shields.io/badge/Version-0.0.10-informational?style=flat-square) ![AppVersion: 0.0.10](https://img.shields.io/badge/AppVersion-0.0.10-informational?style=flat-square)
3+
![Version: 0.0.11](https://img.shields.io/badge/Version-0.0.11-informational?style=flat-square) ![AppVersion: 0.0.11](https://img.shields.io/badge/AppVersion-0.0.11-informational?style=flat-square)
44

55
A Helm chart for MariaDB instances using the mariadb-operator
66

charts/vshnmariadb/templates/mariadb.yaml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,4 +40,7 @@ spec:
4040
tls:
4141
enabled: {{ .Values.tls.enabled }}
4242
required: {{ .Values.tls.required }}
43-
43+
serverCertSecretRef:
44+
name: {{ .Values.tls.serverCertSecretRef }}
45+
serverCASecretRef:
46+
name: {{ .Values.tls.serverCASecretRef }}

charts/vshnmariadb/values.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,3 +28,5 @@ backup:
2828
tls:
2929
enabled: true
3030
required: false
31+
serverCASecretRef: ""
32+
serverCertSecretRef: ""

0 commit comments

Comments
 (0)