Skip to content

Commit

Permalink
Fix API Server crash issue
Browse files Browse the repository at this point in the history
Disabiling anonymous access causes API Server to crash and cluster to
be unstable (see kubernetes/kubernetes#43784)

Signed-off-by: Francesco Ilario <filario@redhat.com>
  • Loading branch information
filariow committed Feb 16, 2023
1 parent 2aa8ffa commit b13b4cf
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions test/acceptance/features/registerWorkerCluster.feature
Expand Up @@ -37,6 +37,8 @@ Feature: Register a kubernetes cluster as Primaza Worker Cluster
Then On Primaza Cluster "primaza-main", ClusterEnvironment "primaza-worker" state will eventually move to "Offline"
And On Primaza Cluster "primaza-main", ClusterEnvironment "primaza-worker" last status condition has Type "Offline"

# TODO(filariow): enable this when permissions check is supported
@disabled
Scenario: Primaza Cluster can contact Worker cluster, but has invalid credentials
Given Primaza Cluster "primaza-main" is running
And Worker Cluster "primaza-worker" for "primaza-main" is running
Expand Down
2 changes: 1 addition & 1 deletion test/acceptance/features/steps/kind.py
Expand Up @@ -44,7 +44,7 @@ def start(self, timeout_sec: int = 600):
kind: "ClusterConfiguration"
apiServer:
extraArgs:
anonymous-auth: "false"
anonymous-auth: "true"
{image}
"""
print(kind_config)
Expand Down

0 comments on commit b13b4cf

Please sign in to comment.