mirror of https://github.com/helm/helm
Signed-off-by: Piotr Resztak <piotr.resztak@gmail.com>pull/10197/head
parent
9fafb4ad68
commit
b2d109a517
@ -0,0 +1,17 @@
|
||||
---
|
||||
# Source: chart-with-values-directory/templates/service.yaml
|
||||
apiVersion: v1
|
||||
kind: Service
|
||||
metadata:
|
||||
name: chart-with-values-directory
|
||||
labels:
|
||||
helm.sh/chart: "chart-with-values-directory-0.1.0"
|
||||
spec:
|
||||
type: ClusterIP
|
||||
ports:
|
||||
- port: 80
|
||||
targetPort: 80
|
||||
protocol: TCP
|
||||
name: apache
|
||||
selector:
|
||||
app.kubernetes.io/name: chart-with-values-directory
|
@ -0,0 +1,4 @@
|
||||
apiVersion: v1
|
||||
description: A Helm chart for Kubernetes
|
||||
name: chart-with-values-directory
|
||||
version: 0.1.0
|
@ -0,0 +1,15 @@
|
||||
apiVersion: v1
|
||||
kind: Service
|
||||
metadata:
|
||||
name: {{ .Chart.Name }}
|
||||
labels:
|
||||
helm.sh/chart: "{{ .Chart.Name }}-{{ .Chart.Version }}"
|
||||
spec:
|
||||
type: {{ .Values.service.type }}
|
||||
ports:
|
||||
- port: {{ .Values.service.externalPort }}
|
||||
targetPort: {{ .Values.service.internalPort }}
|
||||
protocol: TCP
|
||||
name: {{ .Values.service.name }}
|
||||
selector:
|
||||
app.kubernetes.io/name: {{ .Chart.Name }}
|
@ -0,0 +1,3 @@
|
||||
service:
|
||||
type: ClusterIP
|
||||
externalPort: 80
|
@ -0,0 +1,3 @@
|
||||
service:
|
||||
name: apache
|
||||
internalPort: 80
|
Loading…
Reference in new issue