Skip to content

Commit 42278aa

Browse files
authored
Merge pull request #8 from Wikodit/feat/dummy-chart
feat(dummy): make a dummy chart
2 parents 486d134 + 8d33965 commit 42278aa

8 files changed

Lines changed: 79 additions & 1 deletion

File tree

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
- [ ] wik-cronjob
1818
- [ ] wik-rbac
1919
- [ ] wik-node-local-dns
20+
- [ ] wik-dummy
2021

2122
## Checklist
2223

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ helm install my-webservice oci://ghcr.io/wikodit/charts/wik-webservice --version
3030
| [wik-cronjob](charts/wik-cronjob/) | Quick start for all-in-one cronjob | [README](charts/wik-cronjob/README.md) |
3131
| [wik-rbac](charts/wik-rbac/) | RBAC management with rbac-manager | [README](charts/wik-rbac/README.md) |
3232
| [wik-node-local-dns](charts/wik-node-local-dns/) | Node-local DNS configuration | [README](charts/wik-node-local-dns/README.md) |
33+
| [wik-dummy](charts/wik-dummy/) | Dummy chart for testing purposes | - |
3334

3435
## Repository Structure
3536

@@ -40,7 +41,8 @@ charts/
4041
│ ├── wik-backup/
4142
│ ├── wik-cronjob/
4243
│ ├── wik-rbac/
43-
│ └── wik-node-local-dns/
44+
│ ├── wik-node-local-dns/
45+
│ └── wik-dummy/
4446
└── releases/
4547
```
4648

charts/wik-dummy/.helmignore

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
.git
2+
.gitignore
3+
.helmignore
4+
*.tgz
5+
tests/
6+
ci/
7+
README.md.gotmpl
8+
values.schema.json

charts/wik-dummy/Chart.yaml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
apiVersion: v2
2+
name: wik-dummy
3+
description: A dummy chart that does nothing, used for testing purposes
4+
type: application
5+
version: 0.1.0
6+
appVersion: "0.1.0"
7+
8+
home: https://github.com/wikodit/charts
9+
sources:
10+
- https://github.com/wikodit/charts
11+
12+
maintainers:
13+
- name: Wikodit
14+
url: https://github.com/wikodit
15+
- name: Jeremy Trufier
16+
email: jeremy@wikodit.fr
17+
18+
keywords:
19+
- wikodit
20+
- dummy
21+
22+
annotations:
23+
artifacthub.io/license: MIT
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
{}
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
🚀 {{ .Chart.Name }} v{{ .Chart.Version }} deployed successfully!
2+
3+
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
4+
5+
This is a dummy chart that does nothing.
6+
It is intended for testing purposes only.
7+
8+
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
9+
10+
📚 Documentation: https://github.com/wikodit/charts/tree/main/charts/{{ .Chart.Name }}
11+
🐛 Issues: https://github.com/wikodit/charts/issues
12+
13+
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
14+
Maintained by Wikodit | https://www.wikodit.fr
Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
{{/* vim: set filetype=mustache: */}}
2+
3+
{{- define "name" -}}
4+
{{- default .Chart.Name .Values.nameOverride | trunc 63 | trimSuffix "-" -}}
5+
{{- end -}}
6+
7+
{{- define "fullname" -}}
8+
{{- $name := default .Chart.Name .Values.nameOverride -}}
9+
{{- printf "%s-%s" .Release.Name $name | trunc 63 | trimSuffix "-" -}}
10+
{{- end -}}
11+
12+
{{- define "labels" -}}
13+
helm.sh/chart: {{ include "chart" . }}
14+
{{ include "selectorLabels" . }}
15+
{{- if .Chart.AppVersion }}
16+
app.kubernetes.io/version: {{ .Chart.AppVersion | quote }}
17+
{{- end }}
18+
app.kubernetes.io/managed-by: {{ .Release.Service }}
19+
{{- end -}}
20+
21+
{{- define "selectorLabels" -}}
22+
app.kubernetes.io/name: {{ include "name" . }}
23+
app.kubernetes.io/instance: {{ .Release.Name }}
24+
{{- end -}}
25+
26+
{{- define "chart" -}}
27+
{{- printf "%s-%s" .Chart.Name .Chart.Version | replace "+" "_" | trunc 63 | trimSuffix "-" -}}
28+
{{- end -}}

charts/wik-dummy/values.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
{}

0 commit comments

Comments
 (0)