gentle-tailor-78929
12/07/2022, 4:43 PMdatahub password to something more secure than just datahub. This is the approach that I’m using but it results in several errors with the datahub-frontend deployment. What am I missing?
apiVersion: apps/v1
kind: Deployment
metadata:
labels:
name: datahub-frontend
...
...
volumes:
- name: userprops
secret:
secretName: datahub-user-props-secret
containers:
- name: datahub-frontend
image: .../frontend:latest
volumeMounts:
- name: userprops
mountPath: /datahub-frontend/conf/
subPath: user.propsgentle-tailor-78929
12/07/2022, 4:44 PMWARNING: An illegal reflective access operation has occurred
[FATAL][2022-12-07 16:33:26 +0000] WARNING: Illegal reflective access by com.google.inject.internal.cglib.core.$ReflectUtils$1 (file:/datahub-frontend/lib/com.google.inject-guice-4.2.2.jar) to method java.lang.ClassLoader.defineClass(java.lang.String,byte[],int,int,java.security.ProtectionDomain)
[FATAL][2022-12-07 16:33:26 +0000] WARNING: Please consider reporting this to the maintainers of com.google.inject.internal.cglib.core.$ReflectUtils$1
[FATAL][2022-12-07 16:33:26 +0000] WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
[FATAL][2022-12-07 16:33:26 +0000] WARNING: All illegal access operations will be denied in a future release
[FATAL][2022-12-07 16:33:26 +0000] Oops, cannot start the server.
[FATAL][2022-12-07 16:33:26 +0000] com.google.inject.CreationException: Unable to create injector, see the following errors:
[FATAL][2022-12-07 16:33:26 +0000]
[FATAL][2022-12-07 16:33:26 +0000] 1) No implementation for com.linkedin.entity.client.EntityClient was bound.
[FATAL][2022-12-07 16:33:26 +0000] while locating com.linkedin.entity.client.EntityClient
[FATAL][2022-12-07 16:33:26 +0000] for the 3rd parameter of controllers.SsoCallbackController.<init>(SsoCallbackController.java:40)
[FATAL][2022-12-07 16:33:26 +0000] while locating controllers.SsoCallbackController
[FATAL][2022-12-07 16:33:26 +0000] for the 4th parameter of router.Routes.<init>(Routes.scala:45)
[FATAL][2022-12-07 16:33:26 +0000] at play.api.inject.RoutesProvider$.bindingsFromConfiguration(BuiltinModule.scala:129):
[FATAL][2022-12-07 16:33:26 +0000] Binding(class router.Routes to self) (via modules: com.google.inject.util.Modules$OverrideModule -> play.api.inject.guice.GuiceableModuleConversions$$anon$4)
[FATAL][2022-12-07 16:33:26 +0000]
[FATAL][2022-12-07 16:33:26 +0000] 2) Could not find a suitable constructor in client.AuthServiceClient. Classes must have either one (and only one) constructor annotated with @Inject or a zero-argument constructor that is not private.
[FATAL][2022-12-07 16:33:26 +0000] at client.AuthServiceClient.class(AuthServiceClient.java:24)
[FATAL][2022-12-07 16:33:26 +0000] while locating client.AuthServiceClient
[FATAL][2022-12-07 16:33:26 +0000] for field at controllers.AuthenticationController._authClient(AuthenticationController.java:45)
[FATAL][2022-12-07 16:33:26 +0000] while locating controllers.AuthenticationController
[FATAL][2022-12-07 16:33:26 +0000] for the 3rd parameter of router.Routes.<init>(Routes.scala:45)
[FATAL][2022-12-07 16:33:26 +0000] at play.api.inject.RoutesProvider$.bindingsFromConfiguration(BuiltinModule.scala:129):
[FATAL][2022-12-07 16:33:26 +0000] Binding(class router.Routes to self) (via modules: com.google.inject.util.Modules$OverrideModule -> play.api.inject.guice.GuiceableModuleConversions$$anon$4)
[FATAL][2022-12-07 16:33:26 +0000]
[FATAL][2022-12-07 16:33:26 +0000] 3) Could not find a suitable constructor in client.AuthServiceClient. Classes must have either one (and only one) constructor annotated with @Inject or a zero-argument constructor that is not private.
[FATAL][2022-12-07 16:33:26 +0000] at client.AuthServiceClient.class(AuthServiceClient.java:24)
[FATAL][2022-12-07 16:33:26 +0000] while locating client.AuthServiceClient
[FATAL][2022-12-07 16:33:26 +0000] for the 4th parameter of controllers.SsoCallbackController.<init>(SsoCallbackController.java:40)
[FATAL][2022-12-07 16:33:26 +0000] while locating controllers.SsoCallbackController
[FATAL][2022-12-07 16:33:26 +0000] for the 4th parameter of router.Routes.<init>(Routes.scala:45)
[FATAL][2022-12-07 16:33:26 +0000] at play.api.inject.RoutesProvider$.bindingsFromConfiguration(BuiltinModule.scala:129):
[FATAL][2022-12-07 16:33:26 +0000] Binding(class router.Routes to self) (via modules: com.google.inject.util.Modules$OverrideModule -> play.api.inject.guice.GuiceableModuleConversions$$anon$4)
[FATAL][2022-12-07 16:33:26 +0000]
[FATAL][2022-12-07 16:33:26 +0000] 4) Could not find a suitable constructor in client.AuthServiceClient. Classes must have either one (and only one) constructor annotated with @Inject or a zero-argument constructor that is not private.
[FATAL][2022-12-07 16:33:26 +0000] at client.AuthServiceClient.class(AuthServiceClient.java:24)
[FATAL][2022-12-07 16:33:26 +0000] while locating client.AuthServiceClient
[FATAL][2022-12-07 16:33:26 +0000] for field at controllers.TrackingController._authClient(TrackingController.java:35)
[FATAL][2022-12-07 16:33:26 +0000] while locating controllers.TrackingController
[FATAL][2022-12-07 16:33:26 +0000] for the 7th parameter of router.Routes.<init>(Routes.scala:45)
[FATAL][2022-12-07 16:33:26 +0000] at play.api.inject.RoutesProvider$.bindingsFromConfiguration(BuiltinModule.scala:129):
[FATAL][2022-12-07 16:33:26 +0000] Binding(class router.Routes to self) (via modules: com.google.inject.util.Modules$OverrideModule -> play.api.inject.guice.GuiceableModuleConversions$$anon$4)
[FATAL][2022-12-07 16:33:26 +0000]
[FATAL][2022-12-07 16:33:26 +0000] 5) Could not find a suitable constructor in com.datahub.authentication.Authentication. Classes must have either one (and only one) constructor annotated with @Inject or a zero-argument constructor that is not private.
[FATAL][2022-12-07 16:33:26 +0000] at com.datahub.authentication.Authentication.class(Authentication.java:21)
[FATAL][2022-12-07 16:33:26 +0000] while locating com.datahub.authentication.Authentication
[FATAL][2022-12-07 16:33:26 +0000] for the 2nd parameter of controllers.SsoCallbackController.<init>(SsoCallbackController.java:40)
[FATAL][2022-12-07 16:33:26 +0000] while locating controllers.SsoCallbackController
[FATAL][2022-12-07 16:33:26 +0000] for the 4th parameter of router.Routes.<init>(Routes.scala:45)
[FATAL][2022-12-07 16:33:26 +0000] at play.api.inject.RoutesProvider$.bindingsFromConfiguration(BuiltinModule.scala:129):
[FATAL][2022-12-07 16:33:26 +0000] Binding(class router.Routes to self) (via modules: com.google.inject.util.Modules$OverrideModule -> play.api.inject.guice.GuiceableModuleConversions$$anon$4)
[FATAL][2022-12-07 16:33:26 +0000]
[FATAL][2022-12-07 16:33:26 +0000] 6) No implementation for org.pac4j.core.context.session.SessionStore was bound.
[FATAL][2022-12-07 16:33:26 +0000] while locating org.pac4j.core.context.session.SessionStore
[FATAL][2022-12-07 16:33:26 +0000] for field at controllers.AuthenticationController._playSessionStore(AuthenticationController.java:45)
[FATAL][2022-12-07 16:33:26 +0000] while locating controllers.AuthenticationController
[FATAL][2022-12-07 16:33:26 +0000] for the 3rd parameter of router.Routes.<init>(Routes.scala:45)
[FATAL][2022-12-07 16:33:26 +0000] at play.api.inject.RoutesProvider$.bindingsFromConfiguration(BuiltinModule.scala:129):
[FATAL][2022-12-07 16:33:26 +0000] Binding(class router.Routes to self) (via modules: com.google.inject.util.Modules$OverrideModule -> play.api.inject.guice.GuiceableModuleConversions$$anon$4)
[FATAL][2022-12-07 16:33:26 +0000]
[FATAL][2022-12-07 16:33:26 +0000] 7) No implementation for org.pac4j.play.store.PlaySessionStore was bound.
[FATAL][2022-12-07 16:33:26 +0000] while locating org.pac4j.play.store.PlaySessionStore
[FATAL][2022-12-07 16:33:26 +0000] for field at org.pac4j.play.LogoutController.playSessionStore(LogoutController.java:28)
[FATAL][2022-12-07 16:33:26 +0000] while locating controllers.CentralLogoutController
[FATAL][2022-12-07 16:33:26 +0000] for the 5th parameter of router.Routes.<init>(Routes.scala:45)
[FATAL][2022-12-07 16:33:26 +0000] at play.api.inject.RoutesProvider$.bindingsFromConfiguration(BuiltinModule.scala:129):
[FATAL][2022-12-07 16:33:26 +0000] Binding(class router.Routes to self) (via modules: com.google.inject.util.Modules$OverrideModule -> play.api.inject.guice.GuiceableModuleConversions$$anon$4)incalculable-ocean-74010
12/07/2022, 4:48 PMincalculable-ocean-74010
12/07/2022, 4:49 PMgentle-tailor-78929
12/07/2022, 4:51 PMgentle-tailor-78929
12/07/2022, 4:53 PMvolumeMounts:
- name: userprops
mountPath: /datahub-frontend/custom/
subPath: user.props
command:
- bash
- -c
- ln -s /datahub-frontend/conf/user.props /datahub-frontend/custom/user.propsgentle-tailor-78929
12/07/2022, 7:27 PMincalculable-ocean-74010
12/07/2022, 8:08 PMgentle-tailor-78929
12/07/2022, 8:18 PMbetter-orange-49102
12/08/2022, 3:05 AMextraVolumes:
- name: datahub-users
secret:
defaultMode: 0444
secretName: datahub-users-secret
extraVolumeMounts:
- name: datahub-users
mountPath: /datahub-frontend/conf/user.props
subPath: user.propsbulky-electrician-72362
12/08/2022, 2:19 PMbulky-electrician-72362
12/08/2022, 2:20 PM