-
Notifications
You must be signed in to change notification settings - Fork 74
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG] router v2 test fails if oc version is above 1.19 #178
Comments
Hey @dry923, are you sure you're using oc rather than kubectl?, I've verified that the rsevilla@wonderland /tmp $ oc version
Client Version: 4.6.7
Server Version: 4.8.0-0.nightly-2021-04-09-222447
Kubernetes Version: v1.21.0-rc.0+f381840
rsevilla@wonderland /tmp $ ./oc set -h
Configure application resources
These commands help you make changes to existing application resources.
Usage:
oc set COMMAND [flags]
Manage workloads:
deployment-hook Update a deployment hook on a deployment config
env Update environment variables on a pod template
image Update image of a pod template
probe Update a probe on a pod template
resources Update resource requests/limits on objects with pod templates
selector Set the selector on a resource
serviceaccount Update ServiceAccount of a resource
volumes Update volumes on a pod template
Manage secrets and config:
data Update the data within a config map or secret
build-secret Update a build secret on a build config
Manage application flows:
build-hook Update a build hook on a build config
image-lookup Change how images are resolved when deploying applications
triggers Update the triggers on one or more objects
Manage load balancing:
route-backends Update the backends for a route
Manage authorization policy:
subject Update User, Group or ServiceAccount in a RoleBinding/ClusterRoleBinding
Use "oc set <command> --help" for more information about a given command.
Use "oc options" for a list of global command-line options (applies to all commands).
|
@rsevilla87 So version 1.20 of oc does not have set volumes
|
Per our discussion on slack i'm closing this out as there is definitely something wrong w/ the binary of oc that I was using. Will reopen if needed. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
When running the routerv2 test with oc versions above 1.19 the following error is thrown from this line of code.
Common.sh file:
Error:
OC version that failed:
OC version that worked:
The text was updated successfully, but these errors were encountered: