Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .github/workflows/lint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -190,6 +190,11 @@ jobs:
exit 1
fi

if grep -i "error" operator-logs.txt; then
echo "ERROR: Found error in operator logs"
exit 1
fi

echo "No permission or unhandled errors found in operator logs"

# Cleanup test resources
Expand Down
5 changes: 4 additions & 1 deletion cmd/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -56,8 +56,11 @@ func init() {
utilruntime.Must(clientgoscheme.AddToScheme(scheme))

utilruntime.Must(shopv1.AddToScheme(scheme))
utilruntime.Must(gatewayv1.Install(scheme))
//+kubebuilder:scaffold:scheme
//
// Ignore errors because gateway-api is not per default installed
// nolint:errcheck
gatewayv1.Install(scheme)
}

func main() {
Expand Down
Loading