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
If the hooks config with the same Kind but different apiVersion:
context::jq -r '.' could return the incorrect apiVersion as above ☝️
Environment:
Shell-operator version: v1.0.1
Kubernetes version: 1.19.6
Installation type (kubectl apply, helm chart, etc.): kubectl apply
The text was updated successfully, but these errors were encountered:
wrasdf
changed the title
hooks could not watch different apiVersion
hooks could not watch different apiVersion with the same Kind
Jul 5, 2021
wrasdf
changed the title
hooks could not watch different apiVersion with the same Kind
Hooks incorrectly watch different apiVersion with the same Kind
Jul 5, 2021
wrasdf
changed the title
Hooks incorrectly watch different apiVersion with the same Kind
Hooks incorrectly watch different apiVersions with the same Kind
Jul 5, 2021
context
We have two different apiVersions for our aurora dababase crds:
And have two startup.sh for both
v1beta1
&v1beta2
, but in different folder.Take
v1beta2
ofstandup.sh
details as below:Expected behavior (what you expected to happen):
As we have to support 2 versions for our operator, we expected:
Kind
v1beta1
hooks could only watch the apiVersion ofaurora.rds.cloud/v1beta1
.v1beta2
hooks could only focus on apiVersion ofaurora.rds.cloud/v1beta2
Actual behavior (what actually happened):
Kind
v1beta1
hooks watch bothv1beta1
&v1beta2
resourcev1beta2
hooks watch bothv1beta1
&v1beta2
resourceeg:
delete-postgres-v1beta2
->aurora.rds.cloud/v1beta2
Error outputs as below:
Correct outputs as below:
If the hooks config with the same
Kind
but differentapiVersion
:context::jq -r '.'
could return the incorrect apiVersion as above ☝️Environment:
The text was updated successfully, but these errors were encountered: