Skip to content

Commit

Permalink
Merge pull request #81 from carverauto/updates/ory_api
Browse files Browse the repository at this point in the history
Updates/ory api
  • Loading branch information
mfreeman451 authored Dec 16, 2024
2 parents ee50334 + 37459b8 commit 14aa537
Show file tree
Hide file tree
Showing 6 changed files with 133 additions and 161 deletions.
260 changes: 119 additions & 141 deletions go.work.sum

Large diffs are not rendered by default.

1 change: 0 additions & 1 deletion k8s/api/base/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,5 @@ resources:
- api.yaml
- configmap.yaml
- health-alive-ingress.yaml
- service-proxy.yaml
- ingress-api.yaml
- ingress-callback.yaml
9 changes: 0 additions & 9 deletions k8s/api/base/service-proxy.yaml

This file was deleted.

4 changes: 2 additions & 2 deletions k8s/auth-server/base/auth-server-configmaps.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@ data:
{
"id": "decisions-endpoint",
"upstream": {
"url": "http://oathkeeper-api.oathkeeper.svc.cluster.local:4456"
"url": "http://oathkeeper-api:4456"
},
"match": {
"url": "http://oathkeeper-proxy.oathkeeper.svc.cluster.local/decisions",
"url": "http://oathkeeper-proxy/decisions",
"methods": ["GET"]
},
"authenticators": [
Expand Down
14 changes: 7 additions & 7 deletions k8s/nginx/nginx-ingress.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
apiVersion: v1
kind: Namespace
metadata:
name: ingress-nginx
---
apiVersion: helm.cattle.io/v1
kind: HelmChart
metadata:
Expand All @@ -23,20 +28,15 @@ spec:
config:
allow-snippet-annotations: "true"
use-forwarded-headers: "true"
enable-real-ip: "true"
proxy-buffer-size: "16k"
proxy-headers-hash-max-size: "1024"
proxy-body-size: "0"
metrics:
enabled: true
extraArgs:
enable-ssl-passthrough: "true"
dnsPolicy: None
dnsConfig:
nameservers:
- 10.43.0.10
searches:
- svc.cluster.local
- cluster.local
# Add any other relevant search domains if needed
- cluster.local
6 changes: 5 additions & 1 deletion k8s/nginx/service.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,8 @@ spec:
targetPort: 80
- name: https
port: 443
targetPort: 443
targetPort: 443
selector:
app.kubernetes.io/name: ingress-nginx
app.kubernetes.io/instance: ingress-nginx
app.kubernetes.io/component: controller

0 comments on commit 14aa537

Please sign in to comment.