Skip to content

Commit

Permalink
adding 'restricted' to SecurityContextConfig when creating a CatalogS…
Browse files Browse the repository at this point in the history
…ource

Signed-off-by: Adam D. Cornett <[email protected]>
  • Loading branch information
acornett21 committed Jun 10, 2024
1 parent 276fd28 commit c1c7a70
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions internal/openshift/openshift.go
Original file line number Diff line number Diff line change
Expand Up @@ -251,6 +251,9 @@ func (oe openshiftClient) CreateCatalogSource(ctx context.Context, data CatalogS
Image: data.Image,
DisplayName: data.Name,
Secrets: data.Secrets,
GrpcPodConfig: &operatorsv1alpha1.GrpcPodConfig{
SecurityContextConfig: operatorsv1alpha1.Restricted,
},
},
}
err := oe.Client.Create(ctx, catalogSource)
Expand Down

0 comments on commit c1c7a70

Please sign in to comment.