mirror of
https://github.com/matrix-org/matrix-hookshot.git
synced 2025-03-10 05:17:07 +00:00
Helm Chart - Fix missing namespace attributes on resources (#1013)
* Add missing namespace attribute to resources Signed-off-by: Rhea Danzey <rdanzey@element.io> * Bump chart version to 0.1.16 Signed-off-by: Rhea Danzey <rdanzey@element.io> * Add changelog entry Signed-off-by: Rhea Danzey <rdanzey@element.io> --------- Signed-off-by: Rhea Danzey <rdanzey@element.io>
This commit is contained in:
parent
9c1aa89671
commit
3ec1fa6f21
1
changelog.d/1013.bugfix
Normal file
1
changelog.d/1013.bugfix
Normal file
@ -0,0 +1 @@
|
||||
Fixed Helm chart templates missing `namespace:` in resource metadata, causing some resources to appear in different namespaces under certain circumstances, specifically deployment scenarios using ArgoCD-deployed Helmfile with a release namespace set for Hookshot differently than the ArgoCD Application's namespace. Most other Helm deployment methods should continue to work as expected with your existing configuration, as the inferred namespace would have resulted in proper resource placement without this change.
|
@ -14,7 +14,7 @@ type: application
|
||||
# This is the chart version. This version number should be incremented each time you make changes
|
||||
# to the chart and its templates, including the app version.
|
||||
# Versions are expected to follow Semantic Versioning (https://semver.org/)
|
||||
version: 0.1.15
|
||||
version: 0.1.16
|
||||
# This is the version number of the application being deployed. This version number should be
|
||||
# incremented each time you make changes to the application. Versions are not expected to
|
||||
# follow Semantic Versioning. They should reflect the version the application is using.
|
||||
|
@ -3,6 +3,7 @@ apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
name: {{ include "hookshot.fullname" . }}
|
||||
namespace: {{ template "hookshot.namespace" . }}
|
||||
labels:
|
||||
{{- include "hookshot.labels" . | nindent 4 }}
|
||||
spec:
|
||||
|
@ -4,6 +4,7 @@ apiVersion: autoscaling/v2beta1
|
||||
kind: HorizontalPodAutoscaler
|
||||
metadata:
|
||||
name: {{ include "hookshot.fullname" . }}
|
||||
namespace: {{ template "hookshot.namespace" . }}
|
||||
labels:
|
||||
{{- include "hookshot.labels" . | nindent 4 }}
|
||||
spec:
|
||||
|
@ -17,6 +17,7 @@ apiVersion: extensions/v1beta1
|
||||
kind: Ingress
|
||||
metadata:
|
||||
name: {{ $fullName }}-appservice
|
||||
namespace: {{ template "hookshot.namespace" . }}
|
||||
labels:
|
||||
{{- include "hookshot.labels" . | nindent 4 }}
|
||||
{{- with .Values.ingress.appservice.annotations }}
|
||||
|
@ -17,6 +17,7 @@ apiVersion: extensions/v1beta1
|
||||
kind: Ingress
|
||||
metadata:
|
||||
name: {{ $fullName }}
|
||||
namespace: {{ template "hookshot.namespace" . }}
|
||||
labels:
|
||||
{{- include "hookshot.labels" . | nindent 4 }}
|
||||
{{- with .Values.ingress.webhook.annotations }}
|
||||
|
@ -3,6 +3,7 @@ apiVersion: v1
|
||||
kind: Service
|
||||
metadata:
|
||||
name: {{ include "hookshot.fullname" . }}
|
||||
namespace: {{ template "hookshot.namespace" . }}
|
||||
{{- with .Values.service.annotations }}
|
||||
annotations:
|
||||
{{ toYaml . | indent 4 }}
|
||||
|
@ -3,6 +3,7 @@ apiVersion: v1
|
||||
kind: ServiceAccount
|
||||
metadata:
|
||||
name: {{ include "hookshot.serviceAccountName" . }}
|
||||
namespace: {{ template "hookshot.namespace" . }}
|
||||
labels:
|
||||
{{- include "hookshot.labels" . | nindent 4 }}
|
||||
{{- with .Values.serviceAccount.annotations }}
|
||||
|
Loading…
x
Reference in New Issue
Block a user