Skip to content

Commit

Permalink
unified helm chart, when linkerd disabled allow setting individual an…
Browse files Browse the repository at this point in the history
…notations
  • Loading branch information
mqxter committed Sep 24, 2024
1 parent a3d05e5 commit ff2eda1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 8 deletions.
2 changes: 1 addition & 1 deletion common/unified-chart/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: unified-chart
description: Frontegg Unified Chart
type: application

version: 4.0.30
version: 4.0.31

maintainers:
- name: "platform"
Expand Down
8 changes: 1 addition & 7 deletions common/unified-chart/templates/_helpers.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -140,13 +140,7 @@ app.frontegg.com/name: {{ include "name" . }}-hp
{{- if .linkerd.enabled }}
{{- mergeOverwrite .podAnnotations .linkerd.annotations | toYaml }}
{{- else }}
{{- if .podAnnotations }}
{{- $result := .podAnnotations }}
{{- range $k := keys .linkerd.annotations -}}
{{- $_ := unset $result $k }}
{{- end -}}
{{- toYaml $result }}
{{- end }}
{{- toYaml .podAnnotations }}
{{- end }}
{{- end -}}

Expand Down

0 comments on commit ff2eda1

Please sign in to comment.