Create a namespace withing a chart
This commit is contained in:
parent
84305e1e0e
commit
fc92125a03
@ -2,5 +2,5 @@ apiVersion: v2
|
||||
name: badhouseplants-net
|
||||
description: A Helm chart for Kubernetes
|
||||
type: application
|
||||
version: 0.3.6
|
||||
version: 0.3.7
|
||||
appVersion: "1.16.0"
|
||||
|
6
chart/templates/namespace.yaml
Normal file
6
chart/templates/namespace.yaml
Normal file
@ -0,0 +1,6 @@
|
||||
{{- if .Values.istio.enabled -}}
|
||||
apiVersion: v1
|
||||
kind: Namespace
|
||||
metadata:
|
||||
name: {{ .Values.namespace.name }}
|
||||
{{- end }}
|
@ -1,5 +1,9 @@
|
||||
replicaCount: 1
|
||||
|
||||
namespace:
|
||||
enabled: true
|
||||
name: badhouseplants-application
|
||||
|
||||
nginx:
|
||||
container:
|
||||
name: nginx
|
||||
|
@ -3,6 +3,7 @@
|
||||
branch: $ARGO_APP_BRANCH
|
||||
chart_version: $ARGO_APP_CHART_VERSION
|
||||
value: |
|
||||
namespace: badhouseplants-$ARGO_APP_BRANCH
|
||||
istio:
|
||||
hosts:
|
||||
- $ARGO_APP_HOSTNAME
|
||||
|
Reference in New Issue
Block a user