Skip to content
Open
Show file tree
Hide file tree
Changes from 1 commit
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
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@ presubmits:
- --test-cmd=../test/e2e/test-fully-automated.sh
- --test-cmd-args=--focus=\[Disruptive\]
- --timeout=50m
- --runtime-config=internal.apiserver.k8s.io/v1alpha1=true
- --env=KUBE_FEATURE_GATES=StorageVersionAPI=true,APIServerIdentity=true
- --runtime-config=internal.apiserver.k8s.io/v1beta1=true
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is it enabled by default or should be explicitly enabled?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I realized the internal.apiserver.k8s.io API is for StorageVersionAPI, not for APIServerIdentity. StorageVersionAPI and internal.apiserver.k8s.io are still in alpha and need to be explicitly enabled.

https://github.com/kubernetes/kubernetes/blob/master/api/discovery/apis__internal.apiserver.k8s.io.json

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@mariafromano-25 The files being modified are for StorageVersionAPI, which is a different feature than APIServerIdentity.

You can clean up APIServerIdentity=true since this feature gate is now beta and enabled by default, but you need to keep internal.apiserver.k8s.io/v1alpha1=true and StorageVersionAPI=true since these are the alpha API & feature gate for the StorageVersionAPI test to work.

- --env=KUBE_FEATURE_GATES=StorageVersionAPI=true
# docker-in-docker needs privileged mode
securityContext:
privileged: true
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -87,8 +87,7 @@ presubmits:
- --test-cmd=../test/e2e/test-fully-automated.sh
- --test-cmd-args=--skip=\[Disruptive\]
- --timeout=50m
- --runtime-config=internal.apiserver.k8s.io/v1alpha1=true
- --env=KUBE_FEATURE_GATES=StorageVersionAPI=true,APIServerIdentity=true
- --env=KUBE_FEATURE_GATES=StorageVersionAPI=true
# docker-in-docker needs privileged mode
securityContext:
privileged: true
Expand Down