auth

package
v1.24.11 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 22, 2023 License: Apache-2.0 Imports: 12 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ServiceAccountAdmissionControllerMigrationTest

type ServiceAccountAdmissionControllerMigrationTest struct {
	// contains filtered or unexported fields
}

ServiceAccountAdmissionControllerMigrationTest test that a pod is functioning before and after a cluster upgrade.

func (ServiceAccountAdmissionControllerMigrationTest) Name

Name returns the tracking name of the test.

func (*ServiceAccountAdmissionControllerMigrationTest) Setup

Setup creates pod-before-migration which has legacy service account token.

func (*ServiceAccountAdmissionControllerMigrationTest) Teardown

Teardown cleans up any remaining resources.

func (*ServiceAccountAdmissionControllerMigrationTest) Test

func (t *ServiceAccountAdmissionControllerMigrationTest) Test(f *framework.Framework, done <-chan struct{}, upgrade upgrades.UpgradeType)

Test waits for the upgrade to complete, and then verifies pod-before-migration and pod-after-migration are able to make requests using in cluster config.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL