Skip to content

Commit

Permalink
Added "namespace" to manifests
Browse files Browse the repository at this point in the history
To prevent argo CD InvalidSpecError
  • Loading branch information
Ruslan Khizhnyak committed Jun 21, 2024
1 parent 8b439c9 commit 4672c31
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 0 deletions.
1 change: 1 addition & 0 deletions charts/vector/templates/configmap.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ apiVersion: v1
kind: ConfigMap
metadata:
name: {{ include "vector.fullname" . }}
namespace: {{ .Release.Namespace }}
labels:
{{- include "vector.labels" . | nindent 4 }}
data:
Expand Down
1 change: 1 addition & 0 deletions charts/vector/templates/daemonset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ apiVersion: apps/v1
kind: DaemonSet
metadata:
name: {{ include "vector.fullname" . }}
namespace: {{ .Release.Namespace }}
labels:
{{- include "vector.labels" . | nindent 4 }}
annotations:
Expand Down
1 change: 1 addition & 0 deletions charts/vector/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ apiVersion: apps/v1
kind: Deployment
metadata:
name: {{ include "vector.fullname" . }}
namespace: {{ .Release.Namespace }}
labels:
{{- include "vector.labels" . | nindent 4 }}
annotations:
Expand Down
1 change: 1 addition & 0 deletions charts/vector/templates/ingress.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ apiVersion: extensions/v1beta1
kind: Ingress
metadata:
name: {{ include "vector.fullname" . }}
namespace: {{ .Release.Namespace }}
labels:
{{- include "vector.labels" . | nindent 4 }}
{{- with .Values.ingress.annotations }}
Expand Down
1 change: 1 addition & 0 deletions charts/vector/templates/service.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ apiVersion: v1
kind: Service
metadata:
name: {{ include "vector.fullname" . }}
namespace: {{ .Release.Namespace }}
labels:
{{- include "vector.labels" . | nindent 4 }}
annotations:
Expand Down
1 change: 1 addition & 0 deletions charts/vector/templates/serviceaccount.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ apiVersion: v1
kind: ServiceAccount
metadata:
name: {{ include "vector.serviceAccountName" . }}
namespace: {{ .Release.Namespace }}
labels:
{{- include "vector.labels" . | nindent 4 }}
{{- with .Values.serviceAccount.annotations }}
Expand Down
1 change: 1 addition & 0 deletions charts/vector/templates/statefulset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ apiVersion: apps/v1
kind: StatefulSet
metadata:
name: {{ include "vector.fullname" . }}
namespace: {{ .Release.Namespace }}
labels:
{{- include "vector.labels" . | nindent 4 }}
annotations:
Expand Down

0 comments on commit 4672c31

Please sign in to comment.