Add draft for central helm library
This commit is contained in:
parent
a8c2cacce4
commit
3ac338113f
23
charts/kubezero-lib/.helmignore
Normal file
23
charts/kubezero-lib/.helmignore
Normal file
@ -0,0 +1,23 @@
|
|||||||
|
# Patterns to ignore when building packages.
|
||||||
|
# This supports shell glob matching, relative path matching, and
|
||||||
|
# negation (prefixed with !). Only one pattern per line.
|
||||||
|
.DS_Store
|
||||||
|
# Common VCS dirs
|
||||||
|
.git/
|
||||||
|
.gitignore
|
||||||
|
.bzr/
|
||||||
|
.bzrignore
|
||||||
|
.hg/
|
||||||
|
.hgignore
|
||||||
|
.svn/
|
||||||
|
# Common backup files
|
||||||
|
*.swp
|
||||||
|
*.bak
|
||||||
|
*.tmp
|
||||||
|
*.orig
|
||||||
|
*~
|
||||||
|
# Various IDEs
|
||||||
|
.project
|
||||||
|
.idea/
|
||||||
|
*.tmproj
|
||||||
|
.vscode/
|
12
charts/kubezero-lib/Chart.yaml
Normal file
12
charts/kubezero-lib/Chart.yaml
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
apiVersion: v2
|
||||||
|
name: kubezero-lib
|
||||||
|
description: KubeZero helm library - common helm functions and blocks
|
||||||
|
type: library
|
||||||
|
version: 0.1.0
|
||||||
|
home: https://kubezero.com
|
||||||
|
icon: https://cdn.zero-downtime.net/assets/logo_small.png
|
||||||
|
keywords:
|
||||||
|
- kubezero
|
||||||
|
maintainers:
|
||||||
|
- name: Quarky9
|
||||||
|
kubeVersion: ">= 1.16.0"
|
11
charts/kubezero-lib/README.md
Normal file
11
charts/kubezero-lib/README.md
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
kubezero-lib
|
||||||
|
============
|
||||||
|
KubeZero helm library - common helm functions and blocks
|
||||||
|
|
||||||
|
Current chart version is `0.1.0`
|
||||||
|
|
||||||
|
Source code can be found [here](https://kubezero.com)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
9
charts/kubezero-lib/templates/_helpers.tpl
Normal file
9
charts/kubezero-lib/templates/_helpers.tpl
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
{{- /*
|
||||||
|
Common set of labels
|
||||||
|
*/ -}}
|
||||||
|
{{- define "kubezero-library.labels" -}}
|
||||||
|
app.kubernetes.io/name: {{ .name }}
|
||||||
|
helm.sh/chart: {{ .Chart.Name }}-{{ .Chart.Version | replace "+" "_" }}
|
||||||
|
app.kubernetes.io/managed-by: {{ .Release.Service }}
|
||||||
|
app.kubernetes.io/part-of: kubezero
|
||||||
|
{{- end -}}
|
Loading…
Reference in New Issue
Block a user