Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
- [ ] wik-cronjob
- [ ] wik-rbac
- [ ] wik-node-local-dns
- [ ] wik-dummy

## Checklist

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

## Repository Structure

Expand All @@ -40,7 +41,8 @@ charts/
│ ├── wik-backup/
│ ├── wik-cronjob/
│ ├── wik-rbac/
│ └── wik-node-local-dns/
│ ├── wik-node-local-dns/
│ └── wik-dummy/
└── releases/
```

Expand Down
8 changes: 8 additions & 0 deletions charts/wik-dummy/.helmignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
.git
.gitignore
.helmignore
*.tgz
tests/
ci/
README.md.gotmpl
values.schema.json
23 changes: 23 additions & 0 deletions charts/wik-dummy/Chart.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
apiVersion: v2
name: wik-dummy
description: A dummy chart that does nothing, used for testing purposes
type: application
version: 0.1.0
appVersion: "0.1.0"

home: https://github.com/wikodit/charts
sources:
- https://github.com/wikodit/charts

maintainers:
- name: Wikodit
url: https://github.com/wikodit
- name: Jeremy Trufier
email: jeremy@wikodit.fr

keywords:
- wikodit
- dummy

annotations:
artifacthub.io/license: MIT
1 change: 1 addition & 0 deletions charts/wik-dummy/ci/default-values.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{}
14 changes: 14 additions & 0 deletions charts/wik-dummy/templates/NOTES.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
🚀 {{ .Chart.Name }} v{{ .Chart.Version }} deployed successfully!

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

This is a dummy chart that does nothing.
It is intended for testing purposes only.

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

📚 Documentation: https://github.com/wikodit/charts/tree/main/charts/{{ .Chart.Name }}
🐛 Issues: https://github.com/wikodit/charts/issues

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Maintained by Wikodit | https://www.wikodit.fr
28 changes: 28 additions & 0 deletions charts/wik-dummy/templates/_helpers.tpl
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
{{/* vim: set filetype=mustache: */}}

{{- define "name" -}}
{{- default .Chart.Name .Values.nameOverride | trunc 63 | trimSuffix "-" -}}
{{- end -}}

{{- define "fullname" -}}
{{- $name := default .Chart.Name .Values.nameOverride -}}
{{- printf "%s-%s" .Release.Name $name | trunc 63 | trimSuffix "-" -}}
{{- end -}}

{{- define "labels" -}}
helm.sh/chart: {{ include "chart" . }}
{{ include "selectorLabels" . }}
{{- if .Chart.AppVersion }}
app.kubernetes.io/version: {{ .Chart.AppVersion | quote }}
{{- end }}
app.kubernetes.io/managed-by: {{ .Release.Service }}
{{- end -}}

{{- define "selectorLabels" -}}
app.kubernetes.io/name: {{ include "name" . }}
app.kubernetes.io/instance: {{ .Release.Name }}
{{- end -}}

{{- define "chart" -}}
{{- printf "%s-%s" .Chart.Name .Chart.Version | replace "+" "_" | trunc 63 | trimSuffix "-" -}}
{{- end -}}
1 change: 1 addition & 0 deletions charts/wik-dummy/values.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{}
Loading