Documentation
¶
Index ¶
- func AddServiceAccountAnnotations(serviceAccount *corev1.ServiceAccount, routeName string)
- func OAuthServiceAccount(params manifestutils.Params) *corev1.ServiceAccount
- func PatchDeploymentForOauthProxy(tempo metav1.ObjectMeta, config configv1alpha1.ProjectConfig, ...)
- func PatchQueryFrontEndService(service *corev1.Service, tempo string)
- func PatchRouteForOauthProxy(route *routev1.Route)
- func PatchStatefulSetForOauthProxy(tempo metav1.ObjectMeta, authSpec *v1alpha1.JaegerQueryAuthenticationSpec, ...)
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 ¶
PatchQueryFrontEndService add necessary ports and annotations to the front end service.
func PatchRouteForOauthProxy ¶
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.