Create a namespace withing a chart
continuous-integration/drone/push Build is failing Details

This commit is contained in:
Nikolai Rodionov 2023-02-25 21:01:16 +01:00
parent 84305e1e0e
commit fc92125a03
4 changed files with 12 additions and 1 deletions

View File

@ -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"

View File

@ -0,0 +1,6 @@
{{- if .Values.istio.enabled -}}
apiVersion: v1
kind: Namespace
metadata:
name: {{ .Values.namespace.name }}
{{- end }}

View File

@ -1,5 +1,9 @@
replicaCount: 1
namespace:
enabled: true
name: badhouseplants-application
nginx:
container:
name: nginx

View File

@ -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