Skip to content
This repository has been archived by the owner on Mar 22, 2024. It is now read-only.

Commit

Permalink
Fix bug in cert-manager upstream authority
Browse files Browse the repository at this point in the history
The arguments for default function need to be the other way around

Signed-off-by: Marco Franssen <marco.franssen@gmail.com>
  • Loading branch information
marcofranssen committed Jun 29, 2023
1 parent e57c13a commit d7a03f6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion charts/spire/charts/spire-server/templates/configmap.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ plugins:
UpstreamAuthority:
- cert-manager:
plugin_data:
issuer_name: {{ default .issuer_name (include "spire-server.fullname" $root) }}
issuer_name: {{ default (include "spire-server.fullname" $root) .issuer_name }}
issuer_kind: {{ .issuer_kind | quote }}
issuer_group: {{ .issuer_group | quote }}
namespace: {{ default $root.Release.Namespace .namespace | quote }}
Expand Down

0 comments on commit d7a03f6

Please sign in to comment.