| 
									
										
										
										
											2022-07-09 20:31:41 +02:00
										 |  |  | --- | 
					
						
							|  |  |  | title: Google SSO for Kubernetes | 
					
						
							|  |  |  | slug: /deployment/security/google/kubernetes | 
					
						
							|  |  |  | --- | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | # Google SSO for Kubernetes
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | Check the Helm information [here](https://artifacthub.io/packages/search?repo=open-metadata). | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | Once the `Client Id` and `Client Secret` are generated, see the snippet below for an example of where to | 
					
						
							|  |  |  | place the client id value and update the authorizer configurations in the `values.yaml`. | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2022-10-07 12:47:43 +02:00
										 |  |  | ### Before 0.12.1
 | 
					
						
							| 
									
										
										
										
											2022-10-03 17:48:43 +02:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2022-07-09 20:31:41 +02:00
										 |  |  | ```yaml | 
					
						
							|  |  |  | global: | 
					
						
							|  |  |  |   authorizer: | 
					
						
							| 
									
										
										
										
											2022-10-05 21:54:02 -07:00
										 |  |  |     className: "org.openmetadata.service.security.DefaultAuthorizer" | 
					
						
							|  |  |  |     containerRequestFilter: "org.openmetadata.service.security.JwtFilter" | 
					
						
							| 
									
										
										
										
											2022-07-09 20:31:41 +02:00
										 |  |  |     initialAdmins: | 
					
						
							|  |  |  |       - "user1" | 
					
						
							|  |  |  |       - "user2" | 
					
						
							|  |  |  |     principalDomain: "open-metadata.org" | 
					
						
							|  |  |  |   authentication: | 
					
						
							| 
									
										
										
										
											2022-07-17 21:08:35 +02:00
										 |  |  |     provider: "google" | 
					
						
							| 
									
										
										
										
											2022-07-09 20:31:41 +02:00
										 |  |  |     publicKeys: | 
					
						
							| 
									
										
										
										
											2023-03-01 18:03:58 +05:30
										 |  |  |     - "http://openmetadata:8585/api/v1/config/jwks" | 
					
						
							|  |  |  |     - "https://www.googleapis.com/oauth2/v3/certs" | 
					
						
							| 
									
										
										
										
											2022-07-17 21:08:35 +02:00
										 |  |  |     authority: "https://accounts.google.com" | 
					
						
							|  |  |  |     clientId: "{client id}" | 
					
						
							| 
									
										
										
										
											2022-07-09 20:31:41 +02:00
										 |  |  |     callbackUrl: "http://localhost:8585/callback" | 
					
						
							|  |  |  |   airflow: | 
					
						
							|  |  |  |     openmetadata: | 
					
						
							| 
									
										
										
										
											2022-07-17 21:08:35 +02:00
										 |  |  |       authProvider: "google" | 
					
						
							|  |  |  |       google: | 
					
						
							|  |  |  |         # absolute path of secret file on airflow instance | 
					
						
							|  |  |  |         secretKeyPath: "" | 
					
						
							|  |  |  |         audience: "https://www.googleapis.com/oauth2/v4/token" | 
					
						
							| 
									
										
										
										
											2022-07-09 20:31:41 +02:00
										 |  |  | ``` | 
					
						
							| 
									
										
										
										
											2022-10-03 17:48:43 +02:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2022-10-07 12:47:43 +02:00
										 |  |  | ### After 0.12.1
 | 
					
						
							| 
									
										
										
										
											2022-10-03 17:48:43 +02:00
										 |  |  | 
 | 
					
						
							|  |  |  | ```yaml | 
					
						
							|  |  |  | global: | 
					
						
							|  |  |  |   authorizer: | 
					
						
							| 
									
										
										
										
											2022-10-05 21:54:02 -07:00
										 |  |  |     className: "org.openmetadata.service.security.DefaultAuthorizer" | 
					
						
							|  |  |  |     containerRequestFilter: "org.openmetadata.service.security.JwtFilter" | 
					
						
							| 
									
										
										
										
											2022-10-03 17:48:43 +02:00
										 |  |  |     initialAdmins: | 
					
						
							|  |  |  |       - "user1" | 
					
						
							|  |  |  |       - "user2" | 
					
						
							|  |  |  |     botPrincipals: | 
					
						
							|  |  |  |       - "<service_application_client_id>" | 
					
						
							|  |  |  |     principalDomain: "open-metadata.org" | 
					
						
							|  |  |  |   authentication: | 
					
						
							|  |  |  |     provider: "google" | 
					
						
							|  |  |  |     publicKeys: | 
					
						
							|  |  |  |       - "https://www.googleapis.com/oauth2/v3/certs" | 
					
						
							|  |  |  |     authority: "https://accounts.google.com" | 
					
						
							|  |  |  |     clientId: "{client id}" | 
					
						
							|  |  |  |     callbackUrl: "http://localhost:8585/callback" | 
					
						
							|  |  |  | ``` | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2022-10-07 12:47:43 +02:00
										 |  |  | **Note:** Follow [this](/how-to-guides/feature-configurations/bots) guide to configure the `ingestion-bot` credentials for | 
					
						
							|  |  |  | ingesting data from Airflow. |