oauthproxy

package
v0.11.0 Latest Latest
Warning

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

Go to latest
Published: Jul 4, 2024 License: AGPL-3.0 Imports: 14 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 OAuthCookieSessionSecret

func OAuthCookieSessionSecret(tempo metav1.ObjectMeta) (*corev1.Secret, error)

OAuthCookieSessionSecret returns a secret that contains the cookie secret used by oauth proxy.

func OAuthServiceAccount

func OAuthServiceAccount(tempo metav1.ObjectMeta) *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,
	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,
	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