Add draft for central helm library

This commit is contained in:
Stefan Reimer 2020-05-19 11:14:11 +01:00
parent a8c2cacce4
commit 3ac338113f
4 changed files with 55 additions and 0 deletions

View 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/

View 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"

View 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)

View 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 -}}