Skip to content

Commit

Permalink
Add changes regarding g/g upgrade
Browse files Browse the repository at this point in the history
  • Loading branch information
simcod committed Sep 5, 2024
1 parent 0574b6a commit e921322
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,6 @@ spec:
selector:
matchLabels:
{{ include "labels" . | indent 6 }}
{{- if semverCompare ">= 1.26-0" .Capabilities.KubeVersion.Version }}
unhealthyPodEvictionPolicy: AlwaysAllow
{{- end }}
2 changes: 1 addition & 1 deletion cmd/gardener-extension-dns-powerdns/app/app.go
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ func NewControllerManagerCommand(ctx context.Context) *cobra.Command {
cmd := &cobra.Command{
Use: fmt.Sprintf("%s-controller-manager", powerdns.Name),

RunE: func(cmd *cobra.Command, args []string) error {
RunE: func(_ *cobra.Command, _ []string) error {
verflag.PrintAndExitIfRequested()

if err := aggOption.Complete(); err != nil {
Expand Down

0 comments on commit e921322

Please sign in to comment.