Replace namespace with chart namespace
This commit is contained in:
parent
8e62b66b97
commit
71971b7e07
15 changed files with 53 additions and 58 deletions
|
@ -22,7 +22,7 @@ apiVersion: v1
|
|||
kind: PersistentVolumeClaim
|
||||
metadata:
|
||||
name: nextcloud-pvc
|
||||
namespace: nextcloud
|
||||
namespace: {{ .Release.Namespace }}
|
||||
spec:
|
||||
accessModes:
|
||||
- ReadWriteOnce
|
||||
|
@ -36,7 +36,7 @@ apiVersion: v1
|
|||
kind: Service
|
||||
metadata:
|
||||
name: nextcloud
|
||||
namespace: nextcloud
|
||||
namespace: {{ .Release.Namespace }}
|
||||
spec:
|
||||
ports:
|
||||
- port: 80
|
||||
|
@ -47,7 +47,7 @@ apiVersion: apps/v1
|
|||
kind: Deployment
|
||||
metadata:
|
||||
name: nextcloud
|
||||
namespace: nextcloud
|
||||
namespace: {{ .Release.Namespace }}
|
||||
spec:
|
||||
securityContext:
|
||||
runAsUser: 1000
|
||||
|
@ -94,7 +94,7 @@ apiVersion: k8s.mariadb.com/v1alpha1
|
|||
kind: MariaDB
|
||||
metadata:
|
||||
name: nextcloud-db
|
||||
namespace: nextcloud
|
||||
namespace: {{ .Release.Namespace }}
|
||||
spec:
|
||||
rootPasswordSecretKeyRef:
|
||||
name: nextcloud-secrets
|
||||
|
@ -112,7 +112,7 @@ apiVersion: v1
|
|||
kind: Secret
|
||||
metadata:
|
||||
name: wildcard-hxme-net
|
||||
namespace: nextcloud
|
||||
namespace: {{ .Release.Namespace }}
|
||||
annotations:
|
||||
replicator.v1.mittwald.de/replicate-from: cert-manager/wildcard-hxme-net
|
||||
---
|
||||
|
@ -120,7 +120,7 @@ apiVersion: networking.k8s.io/v1
|
|||
kind: Ingress
|
||||
metadata:
|
||||
name: nextcloud
|
||||
namespace: nextcloud
|
||||
namespace: {{ .Release.Namespace }}
|
||||
annotations:
|
||||
external-dns.alpha.kubernetes.io/hostname: nc.hxme.net
|
||||
spec:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue