Loading charts/meep-webhook/.helmignore 0 → 100644 +21 −0 Original line number Diff line number Diff line # 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 *~ # Various IDEs .project .idea/ *.tmproj charts/meep-webhook/Chart.yaml 0 → 100644 +5 −0 Original line number Diff line number Diff line apiVersion: v1 appVersion: "1.0.0" description: MEEP Admission Webhook Helm chart for Kubernetes name: meep-webhook version: 1.0.0 charts/meep-webhook/templates/_helpers.tpl 0 → 100644 +32 −0 Original line number Diff line number Diff line {{/* vim: set filetype=mustache: */}} {{/* Expand the name of the chart. */}} {{- define "meep-webhook.name" -}} {{- default .Chart.Name .Values.nameOverride | trunc 63 | trimSuffix "-" -}} {{- end -}} {{/* Create a default fully qualified app name. We truncate at 63 chars because some Kubernetes name fields are limited to this (by the DNS naming spec). If release name contains chart name it will be used as a full name. */}} {{- define "meep-webhook.fullname" -}} {{- if .Values.fullnameOverride -}} {{- .Values.fullnameOverride | trunc 63 | trimSuffix "-" -}} {{- else -}} {{- $name := default .Chart.Name .Values.nameOverride -}} {{- if contains $name .Release.Name -}} {{- .Release.Name | trunc 63 | trimSuffix "-" -}} {{- else -}} {{- printf "%s-%s" .Release.Name $name | trunc 63 | trimSuffix "-" -}} {{- end -}} {{- end -}} {{- end -}} {{/* Create chart name and version as used by the chart label. */}} {{- define "meep-webhook.chart" -}} {{- printf "%s-%s" .Chart.Name .Chart.Version | replace "+" "_" | trunc 63 | trimSuffix "-" -}} {{- end -}} charts/meep-webhook/templates/clusterrolebinding.yaml 0 → 100644 +12 −0 Original line number Diff line number Diff line apiVersion: rbac.authorization.k8s.io/v1 kind: ClusterRoleBinding metadata: name: "{{ .Values.serviceAccount }}-{{ .Values.namespace }}" roleRef: apiGroup: rbac.authorization.k8s.io kind: ClusterRole name: cluster-admin subjects: - kind: ServiceAccount name: {{ .Values.serviceAccount }} namespace: {{ .Values.namespace }} charts/meep-webhook/templates/configmap.yaml 0 → 100644 +15 −0 Original line number Diff line number Diff line apiVersion: v1 kind: ConfigMap metadata: name: {{ .Values.configMap }} data: config: | containers: - name: {{ .Values.sidecar.name }} image: "{{ .Values.sidecar.image.repository }}:{{ .Values.sidecar.image.tag }}" imagePullPolicy: {{ .Values.sidecar.image.pullPolicy }} securityContext: capabilities: add: - NET_ADMIN Loading
charts/meep-webhook/.helmignore 0 → 100644 +21 −0 Original line number Diff line number Diff line # 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 *~ # Various IDEs .project .idea/ *.tmproj
charts/meep-webhook/Chart.yaml 0 → 100644 +5 −0 Original line number Diff line number Diff line apiVersion: v1 appVersion: "1.0.0" description: MEEP Admission Webhook Helm chart for Kubernetes name: meep-webhook version: 1.0.0
charts/meep-webhook/templates/_helpers.tpl 0 → 100644 +32 −0 Original line number Diff line number Diff line {{/* vim: set filetype=mustache: */}} {{/* Expand the name of the chart. */}} {{- define "meep-webhook.name" -}} {{- default .Chart.Name .Values.nameOverride | trunc 63 | trimSuffix "-" -}} {{- end -}} {{/* Create a default fully qualified app name. We truncate at 63 chars because some Kubernetes name fields are limited to this (by the DNS naming spec). If release name contains chart name it will be used as a full name. */}} {{- define "meep-webhook.fullname" -}} {{- if .Values.fullnameOverride -}} {{- .Values.fullnameOverride | trunc 63 | trimSuffix "-" -}} {{- else -}} {{- $name := default .Chart.Name .Values.nameOverride -}} {{- if contains $name .Release.Name -}} {{- .Release.Name | trunc 63 | trimSuffix "-" -}} {{- else -}} {{- printf "%s-%s" .Release.Name $name | trunc 63 | trimSuffix "-" -}} {{- end -}} {{- end -}} {{- end -}} {{/* Create chart name and version as used by the chart label. */}} {{- define "meep-webhook.chart" -}} {{- printf "%s-%s" .Chart.Name .Chart.Version | replace "+" "_" | trunc 63 | trimSuffix "-" -}} {{- end -}}
charts/meep-webhook/templates/clusterrolebinding.yaml 0 → 100644 +12 −0 Original line number Diff line number Diff line apiVersion: rbac.authorization.k8s.io/v1 kind: ClusterRoleBinding metadata: name: "{{ .Values.serviceAccount }}-{{ .Values.namespace }}" roleRef: apiGroup: rbac.authorization.k8s.io kind: ClusterRole name: cluster-admin subjects: - kind: ServiceAccount name: {{ .Values.serviceAccount }} namespace: {{ .Values.namespace }}
charts/meep-webhook/templates/configmap.yaml 0 → 100644 +15 −0 Original line number Diff line number Diff line apiVersion: v1 kind: ConfigMap metadata: name: {{ .Values.configMap }} data: config: | containers: - name: {{ .Values.sidecar.name }} image: "{{ .Values.sidecar.image.repository }}:{{ .Values.sidecar.image.tag }}" imagePullPolicy: {{ .Values.sidecar.image.pullPolicy }} securityContext: capabilities: add: - NET_ADMIN