kubernetesk8s.io/kubernetes/test/e2e/upgrades/auth Index | Files

package auth

import "k8s.io/kubernetes/test/e2e/upgrades/auth"

Index

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

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.

Source Files

serviceaccount_admission_controller_migration.go

Version
v1.33.1 (latest)
Published
May 15, 2025
Platform
linux/amd64
Imports
12 packages
Last checked
2 days ago

Tools for package owners.