Skip to content

Commit

Permalink
fix(vector): Add namespace to manifests (#394)
Browse files Browse the repository at this point in the history
Added "namespace" to manifests

To prevent argo CD InvalidSpecError

Co-authored-by: Ruslan Khizhnyak <[email protected]>
  • Loading branch information
mustdiechik and Ruslan Khizhnyak authored Jun 24, 2024
1 parent 8b439c9 commit 72ffb20
Show file tree
Hide file tree
Showing 10 changed files with 11 additions and 1 deletion.
2 changes: 1 addition & 1 deletion charts/vector/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
apiVersion: v2
name: vector
version: "0.34.0"
version: "0.34.1"
kubeVersion: ">=1.15.0-0"
description: A lightweight, ultra-fast tool for building observability pipelines
type: application
Expand Down
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/secret.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ apiVersion: v1
kind: Secret
metadata:
name: {{ include "vector.fullname" $ }}
namespace: {{ .Release.Namespace }}
labels:
{{- include "vector.labels" $ | nindent 4 }}
type: Opaque
Expand Down
2 changes: 2 additions & 0 deletions charts/vector/templates/service-headless.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ apiVersion: v1
kind: Service
metadata:
name: {{ include "vector.fullname" . }}-headless
namespace: {{ .Release.Namespace }}
labels:
{{- include "vector.labels" . | nindent 4 }}
annotations:
Expand Down Expand Up @@ -74,6 +75,7 @@ apiVersion: v1
kind: Service
metadata:
name: {{ include "vector.fullname" . }}-headless
namespace: {{ .Release.Namespace }}
labels:
{{- include "vector.labels" . | nindent 4 }}
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 72ffb20

Please sign in to comment.