Skip to content

Commit

Permalink
Merge pull request #117 from vshn/fix/del_prot_labels
Browse files Browse the repository at this point in the history
Fix missing deletion protection labels for users and grants
  • Loading branch information
TheBigLee authored Nov 13, 2024
2 parents 3bb16ba + da0cc7d commit b1149e9
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions pkg/crossplane/service_mariadb_database.go
Original file line number Diff line number Diff line change
Expand Up @@ -232,8 +232,11 @@ func (msb MariadbDatabaseServiceBinder) createBinding(ctx context.Context, bindi
}

labels := map[string]string{
InstanceIDLabel: instanceID,
ParentIDLabel: parentReference,
InstanceIDLabel: instanceID,
ParentIDLabel: parentReference,
OwnerApiVersionLabel: mariaDBUserGroupVersionKind.Version,
OwnerGroupLabel: mariaDBGroupVersionKind.Group,
OwnerKindLabel: mariaDBUserGroupVersionKind.Kind,
}

secret := &corev1.Secret{
Expand Down

0 comments on commit b1149e9

Please sign in to comment.