Skip to content

Commit

Permalink
Fixes for ArgoCD
Browse files Browse the repository at this point in the history
  • Loading branch information
0hlov3 committed Jan 10, 2025
1 parent 0010e36 commit 534628b
Show file tree
Hide file tree
Showing 7 changed files with 14 additions and 1 deletion.
2 changes: 1 addition & 1 deletion charts/matrix-synapse/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ home: https://github.com/element-hq/synapse
type: application

# Chart version should follow semantic versioning: https://semver.org/
version: 1.0.2
version: 1.0.3

# Application version reflects the specific release of the application.
# Use quotes to preserve formatting.
Expand Down
2 changes: 2 additions & 0 deletions charts/matrix-synapse/templates/signingkeyjob/configmap.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ apiVersion: v1
kind: ConfigMap
metadata:
name: {{ $name }}-scripts
annotations:
argocd.argoproj.io/sync-wave: "-5"
labels:
{{- include "matrix-synapse.signingKeylabels" . | nindent 4 }}
data:
Expand Down
2 changes: 2 additions & 0 deletions charts/matrix-synapse/templates/signingkeyjob/job.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ apiVersion: batch/v1
kind: Job
metadata:
name: {{ $name }}
annotations:
argocd.argoproj.io/sync-wave: "-5"
labels:
{{- include "matrix-synapse.signingKeylabels" . | nindent 4 }}
spec:
Expand Down
2 changes: 2 additions & 0 deletions charts/matrix-synapse/templates/signingkeyjob/role.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ apiVersion: rbac.authorization.k8s.io/v1
kind: Role
metadata:
name: {{ $name }}
annotations:
argocd.argoproj.io/sync-wave: "-5"
labels:
{{- include "matrix-synapse.signingKeylabels" . | nindent 4 }}
rules:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ apiVersion: rbac.authorization.k8s.io/v1
kind: RoleBinding
metadata:
name: {{ $name }}
annotations:
argocd.argoproj.io/sync-wave: "-5"
labels:
{{- include "matrix-synapse.signingKeylabels" . | nindent 4 }}
roleRef:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@ kind: Secret
metadata:
annotations:
helm.sh/resource-policy: keep
argocd.argoproj.io/sync-wave: "-5"
argocd.argoproj.io/sync-options: Delete=false
argocd.argoproj.io/ignore-resource-updates: "true"
name: {{ $name }}
labels:
{{- include "matrix-synapse.signingKeylabels" . | nindent 4 }}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ apiVersion: v1
kind: ServiceAccount
metadata:
name: {{ $name }}
annotations:
argocd.argoproj.io/sync-wave: "-5"
labels:
{{- include "matrix-synapse.signingKeylabels" . | nindent 4 }}
{{- end }}

0 comments on commit 534628b

Please sign in to comment.