Skip to content

Commit

Permalink
fix: links to docs
Browse files Browse the repository at this point in the history
  • Loading branch information
danielsinai committed May 5, 2024
1 parent 1f85b6a commit 0526ec6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/crd/crd.go
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ func isCRDNamespacedScoped(crd v1.CustomResourceDefinition) bool {
}

func getDescriptionFromCRD(crd v1.CustomResourceDefinition) string {
return fmt.Sprintf("This action was automatically generated from a Custom Resource Definition (CRD) in the cluster. It allows you to create, update, and delete %s resources. To complete the setup, follow [this guide](/guides-and-tutorials/let-developers-consume-k8s-api-extensions)", crd.Spec.Names.Singular)
return fmt.Sprintf("This action was automatically generated from a Custom Resource Definition (CRD) in the cluster. It allows you to create, update, and delete %s resources. To complete the setup, follow [this guide](https://docs.getport.io/guides-and-tutorials/let-developers-consume-k8s-api-extensions)", crd.Spec.Names.Singular)
}
func getIconFromCRD(crd v1.CustomResourceDefinition) string {
if len(crd.ObjectMeta.OwnerReferences) > 0 && crd.ObjectMeta.OwnerReferences[0].Kind == "CompositeResourceDefinition" {
Expand Down

0 comments on commit 0526ec6

Please sign in to comment.