Skip to content

Commit

Permalink
enhancement(vector): Add namespace to manifests (#441)
Browse files Browse the repository at this point in the history
Add `namespace` to manifests

Co-authored-by: Ruslan Khizhnyak <[email protected]>
Co-authored-by: Jesse Szwedko <[email protected]>
  • Loading branch information
3 people authored Jan 9, 2025
1 parent a0b3b95 commit 30ea8ff
Show file tree
Hide file tree
Showing 9 changed files with 10 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 }}
{{- with .Values.workloadResourceAnnotations }}
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 @@ -71,6 +72,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 30ea8ff

Please sign in to comment.