You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Kratix has been updated to no longer display the raw content of documents in the workflow.content of works and workplacements. This means that users now need to decode and decompress the content to view it (detailed in troubleshooting docs)
// Get the filepath of the first scheduled document
kubectl get work <work-name> -o=jsonpath='{.spec.workloadGroups[0].workloads[0].filepath}'
// Get, decode and decompress the content of the first scheduled document
kubectl get work <work-name> -o=jsonpath='{.spec.workloadGroups[0].workloads[0].content}' | base64 -d | gzip -d
For ease, this functionality can sit within the cli, getting and decoding the content for the user.
Considerations
This could take the form of a kubectl kratix plugin instead of addition to the cli (if this approach is taken, we can distribute it via krew)
The text was updated successfully, but these errors were encountered:
Context
Kratix has been updated to no longer display the raw content of documents in the
workflow.content
of works and workplacements. This means that users now need to decode and decompress thecontent
to view it (detailed in troubleshooting docs)For ease, this functionality can sit within the cli, getting and decoding the content for the user.
Considerations
kubectl
kratix plugin instead of addition to the cli (if this approach is taken, we can distribute it viakrew
)The text was updated successfully, but these errors were encountered: