Skip to content

Commit

Permalink
Address PR review feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
oliver-goetz committed Nov 20, 2024
1 parent ea7808e commit 469b9e8
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 30 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,34 +21,6 @@ rules:
- secrets
verbs:
- get
- list
- create
- patch
- watch
- apiGroups:
- coordination.k8s.io
resources:
- leases
verbs:
- create
- apiGroups:
- coordination.k8s.io
resources:
- leases
resourceNames:
- {{ include "name" . }}
verbs:
- get
- watch
- update
- apiGroups:
- events.k8s.io
resources:
- events
verbs:
- create
- patch
- update
- apiGroups:
- ""
resources:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ spec:
- --webhook-config-service-port={{ .Values.webhookConfig.servicePort }}
- --webhook-config-server-port={{ .Values.webhookConfig.serverPort }}
{{- if .Values.gardener.runtimeCluster.enabled }}
- --disable-controllers=backupentry,bastion,controlplane,infrastructure,worker,healthcheck
- --controllers=backupbucket,dnsrecord
- --disable-webhooks="*"
- --extension-class=garden
{{- else }}
Expand Down
1 change: 1 addition & 0 deletions cmd/gardener-extension-provider-gcp/app/app.go
Original file line number Diff line number Diff line change
Expand Up @@ -231,6 +231,7 @@ func NewControllerManagerCommand(ctx context.Context) *cobra.Command {
reconcileOpts.Completed().Apply(&gcpworker.DefaultAddOptions.IgnoreOperationAnnotation, &gcpworker.DefaultAddOptions.ExtensionClass)
reconcileOpts.Completed().Apply(&gcpbastion.DefaultAddOptions.IgnoreOperationAnnotation, &gcpbastion.DefaultAddOptions.ExtensionClass)
reconcileOpts.Completed().Apply(&gcpdnsrecord.DefaultAddOptions.IgnoreOperationAnnotation, &gcpdnsrecord.DefaultAddOptions.ExtensionClass)
reconcileOpts.Completed().Apply(&gcpbackupbucket.DefaultAddOptions.IgnoreOperationAnnotation, &gcpbackupbucket.DefaultAddOptions.ExtensionClass)
workerCtrlOpts.Completed().Apply(&gcpworker.DefaultAddOptions.Controller)
gcpworker.DefaultAddOptions.GardenCluster = gardenCluster

Expand Down
2 changes: 1 addition & 1 deletion example/controller-registration.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ kind: ControllerDeployment
metadata:
name: provider-gcp
helm:
rawChart: H4sIAAAAAAAAA+09a2/bxrL9rF+xUFq0DULqbfcKyMFxbCc1mjiC7ZPei4ODgCJXEmuKZLmkEzXtf78z+yCXD4mi4yrJCQdBTC73Mbs7Mzs7M7taWpFDfRoZ9H1MfeYGvhFGwZ3rQNLSDnvfPAD0AY4nE/4XoPiXPw9G48FwMjw6wvTB5Hgy+oZMHqLxOkhYbEWEfBMFQbwrX933LxSWNfN/urKi2NxYa+/+beAEH43HW+d/OCrO//HRMcx//+G6uR2+8vm3QvcNjXDep+Ru0LHCMH3tDsx+t+NQZkduGPOkE/Iz9dbERqIgiyAi8YqSF5KEyIvTGZlJ4iEpPXV8a02npIbQOneq2b4J7XY+9bh8LVDH/05gm8vg49qo4f8B8HuR//vjo5b/DwG9Hrmenf2v8dz16GkQbiJ3uYpvgBimZNgfjsn1yYxcnxNgdcvnL9Zi4XquFVNiB+vQ8jfwwclkgB34ceTOkziIWKfX66j6X7o2kBc1LiBb7C5cGoE0CS17RY0hsDvkWwbTJVaBVbMVMWzSnVvw8O2Lk6uz88vzq7c/n5z+8vbs4qqn8hm8tcDzgFgjunRZDKlAwiYU06mYmOTbH2wrJqbZg39vzq+uL15f/ihf6XtrHXq0t60yXPzIM8u+TcJniX1L4ylWKRLOochGvjMuI/H5VNQ08yyf8oSzy+srageRM10GwdIDxL0gcRyfkQt/EUHJKLHjJBKZfw2iWxgeeOziuJAZtGQtqZS61LfmHmUkN1xJGAZSIstE119y4QyNRtSOSdY5kutcJ9Rrb8Xu1wZ18j+mwBtAY+wjdgLN9f/j48mg1f8PAfvP/9sV9UJQ0sw4bLgXqFv/h8Nxfv6Hw+HxsF3/DwEfPhjEoQvXp6SLinqXGH/91alT1rEUhWUf83b0KjxrT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06F32Q0AQCC4MdMT11Wk6b3Mb9YrXA0QW8sp4WoE2SLUbiS4WFwG8QxvGwaO6egX4WBYdznQO7uBZtL/DguoXTnyAVRryEWNFGDpUaTdXNY94b6ojuYqmZKf+j/1O9mZN54w6HS006tYkR4ckoog/YiyOPGm3TOwMxfLTjFV5tDjQHZkS8NAduTRTsfvziXCDZQlVT6sPiUjPCuTDyjZUaUIKdmRYethcrXY65TPCk/Jv/7dKZz85WkFd21axSNSdQoJr5R8RNSVsVP+rM4jhVbCxOllrkb4N0JEvVca6yzdeJXMMayhlzlC9ce5F8x7awu9U7154npOj1fdO+PMhhdAyLp1hlzaEepb8eNhb7NrQ0RZw1o7R2NZjLNad4Q/3SgS0h9WHJiDgfn+y+7VoNQr4eceDMUH0zQ7nZxrbdpJXdOCk8fjkUxSh0kH/eGkD0TxiCjfJf8lNSkQnhBqLk3C1D1J8w3hHtwsagJKKumBrUE9QgKl1xypsvxjKqDUzUtSTnXsFN/qi0Orrg0FAwQFJmbq/cYCP7WD0is8K3PwyzUH8iYbefPlgDNydg9l4RZKu3wljlhHGQuLxSpTetPkcPLClYm5tVJ+d2CJNyyoCwgqFka/Wm78PIieu4AhdJzBdzwUnL8OEsueCeZXP0OY9xWdYiRGtnZT6E87OhlhpIn44ilhnmsG9QvhMz/tpL3ivmh1+41+x5EipOx8YpU3XD+9WFRa+ejLaSeXR4gx3CbZdWOReFAXFw377a+qttBCCy200EILLbTQQgsttNBCCy200EILLbTQQgsttNBCCy200EILLbTQQgst/PfAfwCeAHtMAKAAAA==
values:
image:
tag: v1.41.0-dev
Expand Down
4 changes: 4 additions & 0 deletions pkg/controller/backupbucket/add.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ import (
"context"

"github.com/gardener/gardener/extensions/pkg/controller/backupbucket"
extensionsv1alpha1 "github.com/gardener/gardener/pkg/apis/extensions/v1alpha1"
"sigs.k8s.io/controller-runtime/pkg/controller"
"sigs.k8s.io/controller-runtime/pkg/manager"

Expand All @@ -25,6 +26,8 @@ type AddOptions struct {
Controller controller.Options
// IgnoreOperationAnnotation specifies whether to ignore the operation annotation or not.
IgnoreOperationAnnotation bool
// ExtensionClass defines the extension class this extension is responsible for.
ExtensionClass extensionsv1alpha1.ExtensionClass
}

// AddToManagerWithOptions adds a controller with the given Options to the given manager.
Expand All @@ -35,6 +38,7 @@ func AddToManagerWithOptions(ctx context.Context, mgr manager.Manager, opts AddO
ControllerOptions: opts.Controller,
Predicates: backupbucket.DefaultPredicates(opts.IgnoreOperationAnnotation),
Type: gcp.Type,
ExtensionClass: opts.ExtensionClass,
})
}

Expand Down

0 comments on commit 469b9e8

Please sign in to comment.