oauthproxy

package
v0.14.1 Latest Latest
Warning

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

Go to latest
Published: Nov 6, 2024 License: AGPL-3.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddServiceAccountAnnotations

func AddServiceAccountAnnotations(serviceAccount *corev1.ServiceAccount, routeName string)

AddServiceAccountAnnotations add the redirect reference annotation to a service account, used by oauth proxy.

func OAuthServiceAccount

func OAuthServiceAccount(params manifestutils.Params) *corev1.ServiceAccount

OAuthServiceAccount returns a service account representing a client in the context of the OAuth Proxy.

func PatchDeploymentForOauthProxy

func PatchDeploymentForOauthProxy(
	tempo metav1.ObjectMeta,
	config configv1alpha1.ProjectConfig,
	authSpec *v1alpha1.JaegerQueryAuthenticationSpec,
	timeout time.Duration,
	imageSpec configv1alpha1.ImagesSpec,
	dep *v1.Deployment)

PatchDeploymentForOauthProxy returns a modified deployment with the oauth sidecar container and the right service account.

func PatchQueryFrontEndService

func PatchQueryFrontEndService(service *corev1.Service, tempo string)

PatchQueryFrontEndService add necessary ports and annotations to the front end service.

func PatchRouteForOauthProxy

func PatchRouteForOauthProxy(route *routev1.Route)

PatchRouteForOauthProxy a modified route pointing to the oauth proxy and annotated.

func PatchStatefulSetForOauthProxy

func PatchStatefulSetForOauthProxy(
	tempo metav1.ObjectMeta,
	authSpec *v1alpha1.JaegerQueryAuthenticationSpec,
	timeout time.Duration,
	config configv1alpha1.ProjectConfig,
	statefulSet *v1.StatefulSet)

PatchStatefulSetForOauthProxy returns a modified StatefulSet with the oauth sidecar container and the right service account.

Types

This section is empty.

Jump to

Keyboard shortcuts

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