parent
							
								
									ca415c6959
								
							
						
					
					
						commit
						5be4f93de5
					
				
					 4 changed files with 44 additions and 2 deletions
				
			
		
										
											Binary file not shown.
										
									
								
							|  | @ -1,3 +1,23 @@ | |||
| #resource "authentik_provider_proxy" "chat" { | ||||
| #  name          = "Chat" | ||||
| #  internal_host = "http://open-webui.ollama:8080" | ||||
| #  external_host = "https://chat.lab.cowley.tech" | ||||
| # | ||||
| #  internal_host_ssl_validation = false | ||||
| # | ||||
| #  authentication_flow = data.authentik_flow.default-authentication-flow.id | ||||
| #  authorization_flow  = data.authentik_flow.default-provider-authorization-implicit-consent.id | ||||
| #  invalidation_flow   = data.authentik_flow.default-provider-invalidation-flow.id | ||||
| # | ||||
| #  access_token_validity = "hours=24" | ||||
| #} | ||||
| # | ||||
| #resource "authentik_application" "chat" { | ||||
| #  name = "Chat" | ||||
| #  slug = "chat" | ||||
| # | ||||
| #  protocol_provider = authentik_provider_proxy.chat.id | ||||
| #} | ||||
| 
 | ||||
| resource "random_id" "chat_client_id" { | ||||
|   byte_length = 16 | ||||
|  | @ -8,7 +28,8 @@ resource "random_id" "chat_secret_key" { | |||
| resource "authentik_provider_oauth2" "chat" { | ||||
|   name = "Chat" | ||||
| 
 | ||||
|   client_id           = random_id.chat_client_id.id | ||||
|   #client_id           = random_id.chat_client_id.id | ||||
|   client_id           = "2VbXTsFUJV5fgrRJTeQ" | ||||
|   authentication_flow = data.authentik_flow.default-authentication-flow.id | ||||
|   authorization_flow  = data.authentik_flow.default-provider-authorization-implicit-consent.id | ||||
|   invalidation_flow   = data.authentik_flow.default-invalidation-flow.id | ||||
|  |  | |||
|  | @ -1,10 +1,11 @@ | |||
| resource "authentik_outpost" "embedded_outpost" { | ||||
|   name = "authentik Embedded Outpost" | ||||
|   protocol_providers = [ | ||||
|     #authentik_provider_proxy.chat.id, | ||||
|     authentik_provider_proxy.esphome.id, | ||||
|     authentik_provider_proxy.pinchflat.id, | ||||
|     authentik_provider_proxy.paperless-gpt.id, | ||||
|     #authentik_provider_proxy.tubearchivist.id, | ||||
|     #authentik_provider_proxy.proxy-test.id, | ||||
|     #authentik_provider_proxy.spotizerr.id, | ||||
|   ] | ||||
|   service_connection = authentik_service_connection_kubernetes.local.id | ||||
|  |  | |||
							
								
								
									
										20
									
								
								authentik/test.tf
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										20
									
								
								authentik/test.tf
									
										
									
									
									
										Normal file
									
								
							|  | @ -0,0 +1,20 @@ | |||
| resource "authentik_provider_proxy" "proxy-test" { | ||||
|   name          = "Proxy Test" | ||||
|   internal_host = "http://homelab-proxy-test.tools:8000" | ||||
|   external_host = "https://proxy-test.lab.cowley.tech" | ||||
| 
 | ||||
|   internal_host_ssl_validation = false | ||||
| 
 | ||||
|   authentication_flow = data.authentik_flow.default-authentication-flow.id | ||||
|   authorization_flow  = data.authentik_flow.default-provider-authorization-implicit-consent.id | ||||
|   invalidation_flow   = data.authentik_flow.default-provider-invalidation-flow.id | ||||
| 
 | ||||
|   access_token_validity = "hours=24" | ||||
| } | ||||
| 
 | ||||
| resource "authentik_application" "proxy-test" { | ||||
|   name = "Proxy Test" | ||||
|   slug = "proxy-test" | ||||
| 
 | ||||
|   protocol_provider = authentik_provider_proxy.proxy-test.id | ||||
| } | ||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue