mirror of
https://github.com/helm/charts.git
synced 2026-08-23 22:37:45 +00:00
This commit is contained in:
@@ -1,9 +1,10 @@
|
||||
apiVersion: v1
|
||||
description: Configure external DNS servers (AWS Route53, Google CloudDNS and others) for Kubernetes Ingresses and Services
|
||||
description: Configure external DNS servers (AWS Route53, Google CloudDNS and others)
|
||||
for Kubernetes Ingresses and Services
|
||||
name: external-dns
|
||||
version: 0.1.3
|
||||
version: 0.2.0
|
||||
appVersion: 0.4.3
|
||||
home: https://github.com/kubernetes-incubator/external-dns
|
||||
sources:
|
||||
- https://github.com/kubernetes-incubator/external-dns
|
||||
- https://github.com/kubernetes-incubator/external-dns
|
||||
engine: gotpl
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
To verify that external-dns has started, run:
|
||||
|
||||
kubectl --namespace={{ .Release.Namespace }} get pods -l "app={{ template "name" . }},release={{ .Release.Name }}"
|
||||
kubectl --namespace={{ .Release.Namespace }} get pods -l "app={{ template "external-dns.name" . }},release={{ .Release.Name }}"
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
{{/*
|
||||
Expand the name of the chart.
|
||||
*/}}
|
||||
{{- define "name" -}}
|
||||
{{- define "external-dns.name" -}}
|
||||
{{- default .Chart.Name .Values.nameOverride | trunc 63 | trimSuffix "-" -}}
|
||||
{{- end -}}
|
||||
|
||||
@@ -21,7 +21,7 @@ We truncate at 63 chars because some Kubernetes name fields are limited to this
|
||||
|
||||
{{/* Generate basic labels */}}
|
||||
{{- define "external-dns.labels" }}
|
||||
app: {{ template "name" . }}
|
||||
app: {{ template "external-dns.name" . }}
|
||||
heritage: {{.Release.Service }}
|
||||
release: {{.Release.Name }}
|
||||
{{- if .Values.podLabels}}
|
||||
|
||||
@@ -14,7 +14,7 @@ spec:
|
||||
labels: {{ include "external-dns.labels" . | indent 8 }}
|
||||
spec:
|
||||
containers:
|
||||
- name: {{ template "name" . }}
|
||||
- name: {{ template "external-dns.name" . }}
|
||||
image: "{{.Values.image.name}}:{{ .Values.image.tag }}"
|
||||
imagePullPolicy: "{{ .Values.image.pullPolicy }}"
|
||||
args:
|
||||
|
||||
@@ -6,7 +6,7 @@ metadata:
|
||||
{{ toYaml .Values.service.annotations | indent 4 }}
|
||||
{{- end }}
|
||||
labels:
|
||||
app: {{ template "name" . }}
|
||||
app: {{ template "external-dns.name" . }}
|
||||
chart: {{ .Chart.Name }}-{{ .Chart.Version }}
|
||||
heritage: {{ .Release.Service }}
|
||||
release: {{ .Release.Name }}
|
||||
@@ -29,6 +29,6 @@ spec:
|
||||
protocol: TCP
|
||||
targetPort: 7979
|
||||
selector:
|
||||
app: {{ template "name" . }}
|
||||
app: {{ template "external-dns.name" . }}
|
||||
release: {{ .Release.Name }}
|
||||
type: "{{ .Values.service.type }}"
|
||||
|
||||
Reference in New Issue
Block a user