Initial Red Hat laptop config commit
This commit is contained in:
7
dot_config/fish/functions/debug-operator.fish
Normal file
7
dot_config/fish/functions/debug-operator.fish
Normal file
@@ -0,0 +1,7 @@
|
||||
function debug-operator
|
||||
if test (count $argv) -gt 0
|
||||
git pull --rebase
|
||||
end
|
||||
make mod clean
|
||||
and DEBUG=true operator-sdk run --local --watch-namespace=3376 &| tee debug-operator.log
|
||||
end
|
||||
3
dot_config/fish/functions/oc-get-events.fish
Normal file
3
dot_config/fish/functions/oc-get-events.fish
Normal file
@@ -0,0 +1,3 @@
|
||||
function oc-get-events
|
||||
oc get events --field-selector involvedObject.name="$argv[1]"
|
||||
end
|
||||
5
dot_config/fish/functions/redeploy-operator.fish
Normal file
5
dot_config/fish/functions/redeploy-operator.fish
Normal file
@@ -0,0 +1,5 @@
|
||||
function redeploy-operator
|
||||
oc delete deployment kogito-operator
|
||||
make deploy-operator-on-ocp
|
||||
oc get pods -w
|
||||
end
|
||||
Reference in New Issue
Block a user