Skip to content

Commit

Permalink
add type meta to v1
Browse files Browse the repository at this point in the history
  • Loading branch information
atye committed May 31, 2024
1 parent ec83220 commit 6167fb2
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions pkg/modules/authorization.go
Original file line number Diff line number Diff line change
Expand Up @@ -676,6 +676,10 @@ func authorizationStorageServiceV1(ctx context.Context, isDeleting bool, cr csmv
replicas := int32(1)
// set deployment
deployment := appsv1.Deployment{
TypeMeta: metav1.TypeMeta{
Kind: "Deployment",
APIVersion: "apps/v1",
},
ObjectMeta: metav1.ObjectMeta{
Name: "storage-service",
Namespace: cr.Namespace,
Expand Down

0 comments on commit 6167fb2

Please sign in to comment.