Skip to content
Snippets Groups Projects
Verified Commit b7cf481f authored by Sheogorath's avatar Sheogorath :european_castle:
Browse files
parent 64741190
Branches
Tags
No related merge requests found
...@@ -4,8 +4,17 @@ metadata: ...@@ -4,8 +4,17 @@ metadata:
name: longhorn-ingress name: longhorn-ingress
namespace: longhorn-system namespace: longhorn-system
annotations: annotations:
nginx.ingress.kubernetes.io/auth-response-headers: Authorization
nginx.ingress.kubernetes.io/auth-url: https://$host/oauth2/auth nginx.ingress.kubernetes.io/auth-url: https://$host/oauth2/auth
nginx.ingress.kubernetes.io/auth-signin: https://$host/oauth2/start?rd=$escaped_request_uri nginx.ingress.kubernetes.io/auth-signin: https://$host/oauth2/start?rd=$escaped_request_uri
nginx.ingress.kubernetes.io/configuration-snippet: |
auth_request_set $name_upstream_1 $upstream_cookie_name_1;
access_by_lua_block {
if ngx.var.name_upstream_1 ~= "" then
ngx.header["Set-Cookie"] = "name_1=" .. ngx.var.name_upstream_1 .. ngx.var.auth_cookie:match("(; .*)")
end
}
spec: spec:
rules: rules:
- host: ENC[AES256_GCM,data:eBQRvj0E4eODWDYTXe+1iu3p+koCwHhVcxw=,iv:DR0LwShFLl9pS13VgTuCuag8qo3uKug26g9eV2AAkLE=,tag:c7MwWxEsVuV0EvckG+nKqQ==,type:str] - host: ENC[AES256_GCM,data:eBQRvj0E4eODWDYTXe+1iu3p+koCwHhVcxw=,iv:DR0LwShFLl9pS13VgTuCuag8qo3uKug26g9eV2AAkLE=,tag:c7MwWxEsVuV0EvckG+nKqQ==,type:str]
...@@ -28,8 +37,8 @@ sops: ...@@ -28,8 +37,8 @@ sops:
azure_kv: [] azure_kv: []
hc_vault: [] hc_vault: []
age: [] age: []
lastmodified: "2022-01-22T03:28:09Z" lastmodified: "2022-01-22T04:02:54Z"
mac: ENC[AES256_GCM,data:G5p4KshAwOCK0aRVS+OzsaU7LIvHypBmpz9oSy95NDQvgF3AQzd1VuQf400kYKMvw1Y96zQWS/AiSoNXjczoZEkVjQ7L093ypGPa6x0bRG0FoAfGc8yl1J5BKu6ORvm3QYIwFD28rMWeneKMaFLYYCqoFz6x1WZfOidJa8EyFwQ=,iv:uDf1zVtkLscPCtLYeNdAF5iIdlTXiYeJM9uDt89T/ek=,tag:llG0bGVHxgIuRnbMVWwY/w==,type:str] mac: ENC[AES256_GCM,data:20jXv3xTGy4zoXEUgpRdw7zOq1OvEp/fvfvj8/e6N8yMluVQxpkuQSbHu1gecyhhyYu9fwASeacdLYgv7q33vIW8z1L9OAD9ZTOUf2OCtZqS+fHdBqA4PDSaT2WyAqdc1mcptcEC3Ml91p0nngPlDPowpny6/7P9Y+n+DVZrtCE=,iv:/XIiyCEmHBcKa/4tQfVOABRlSqGpVaPVZNu6bx9lUn0=,tag:V8TgJ8nZCYYbfuEZKw107g==,type:str]
pgp: pgp:
- created_at: "2022-01-22T02:43:51Z" - created_at: "2022-01-22T02:43:51Z"
enc: |- enc: |-
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment