Remove dead code (#217)
This commit is contained in:
@@ -108,12 +108,10 @@ Kubernetes: `>=1.21.0-0`
|
|||||||
|
|
||||||
| Key | Type | Default | Description |
|
| Key | Type | Default | Description |
|
||||||
|-----|------|---------|-------------|
|
|-----|------|---------|-------------|
|
||||||
| fullnameOverride | string | `""` | |
|
|
||||||
| global.k8s.clusterDomain | string | `"cluster.local"` | |
|
| global.k8s.clusterDomain | string | `"cluster.local"` | |
|
||||||
| global.spire.bundleConfigMap | string | `""` | Override all instances of bundleConfigMap |
|
| global.spire.bundleConfigMap | string | `""` | Override all instances of bundleConfigMap |
|
||||||
| global.spire.clusterName | string | `"example-cluster"` | Set the name of the Kubernetes cluster |
|
| global.spire.clusterName | string | `"example-cluster"` | Set the name of the Kubernetes cluster |
|
||||||
| global.spire.trustDomain | string | `"example.org"` | Set the trust domain to use for the spiffe identifiers |
|
| global.spire.trustDomain | string | `"example.org"` | Set the trust domain to use for the spiffe identifiers |
|
||||||
| nameOverride | string | `""` | |
|
|
||||||
| spiffe-csi-driver.enabled | bool | `true` | |
|
| spiffe-csi-driver.enabled | bool | `true` | |
|
||||||
| spiffe-oidc-discovery-provider.enabled | bool | `false` | |
|
| spiffe-oidc-discovery-provider.enabled | bool | `false` | |
|
||||||
| spire-agent.enabled | bool | `true` | |
|
| spire-agent.enabled | bool | `true` | |
|
||||||
|
|||||||
@@ -1,35 +0,0 @@
|
|||||||
{{/*
|
|
||||||
Expand the name of the chart.
|
|
||||||
*/}}
|
|
||||||
{{- define "spire.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 "spire.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 "spire.chart" -}}
|
|
||||||
{{- printf "%s-%s" .Chart.Name .Chart.Version | replace "+" "_" | trunc 63 | trimSuffix "-" }}
|
|
||||||
{{- end }}
|
|
||||||
|
|
||||||
{{- define "spire.server-socket-path" -}}
|
|
||||||
{{- print "/run/spire/server-sockets/spire-server.sock" }}
|
|
||||||
{{- end }}
|
|
||||||
@@ -20,9 +20,6 @@ global:
|
|||||||
# namespace: "kube-prometheus-system"
|
# namespace: "kube-prometheus-system"
|
||||||
# labels: {}
|
# labels: {}
|
||||||
|
|
||||||
nameOverride: ""
|
|
||||||
fullnameOverride: ""
|
|
||||||
|
|
||||||
# subcharts
|
# subcharts
|
||||||
spire-server:
|
spire-server:
|
||||||
enabled: true
|
enabled: true
|
||||||
|
|||||||
Reference in New Issue
Block a user