no update (secret)

This commit is contained in:
kkb0318
2024-04-14 20:44:02 +09:00
parent dcc01e17bd
commit 993b08a204
9 changed files with 76 additions and 18 deletions
-7
View File
@@ -6,13 +6,6 @@ import (
"sigs.k8s.io/controller-runtime/pkg/client"
)
func NewKubernetesClient(c client.Client, owner Owner) (*KubernetesClient, error) {
return &KubernetesClient{
client: c,
owner: owner,
}, nil
}
func (h KubernetesClient) Apply(ctx context.Context, obj client.Object) error {
opts := []client.PatchOption{
client.ForceOwnership,