Skip to content

Commit

Permalink
[BUGFIX] - Fixing Describe Command (#903)
Browse files Browse the repository at this point in the history
* [BUGFIX] - Create Cloud Resource

Fixing up elements and removing the dependency on the convert when creating a cloud resource

* [BUGFIX] - Fixing Describe Command

Fixing up the labeling issue on the describe command
  • Loading branch information
gambol99 authored Jul 13, 2023
1 parent 24a6b21 commit 5391da2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pkg/cmd/tnctl/describe/describe.go
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,8 @@ func (o *Command) Run(ctx context.Context) error {
if err = cc.List(context.Background(), secrets,
client.InNamespace(o.Namespace),
client.MatchingLabels(map[string]string{
terraformv1alpha1.CloudResourceNameLabel: configuration.Name,
terraformv1alpha1.ConfigurationNameLabel: configuration.Name,
terraformv1alpha1.ConfigurationUIDLabel: string(configuration.GetUID()),
}),
); err != nil {
return err
Expand Down

0 comments on commit 5391da2

Please sign in to comment.