fix(k8s): fix enabling OIDC auth

This commit is contained in:
Masaki Yatsu
2025-08-15 15:29:07 +09:00
parent 51097b2258
commit a1ced0a0a8
4 changed files with 75 additions and 24 deletions

View File

@@ -3,16 +3,37 @@ kind: Pod
metadata:
name: debug-pod
namespace: default
labels:
app: debug
spec:
containers:
- name: debug
image: busybox:latest
command: ["sleep", "3600"]
resources:
requests:
cpu: 10m
memory: 32Mi
limits:
cpu: 100m
memory: 64Mi
restartPolicy: Never
- name: web
image: busybox:latest
command:
- sh
- -c
- |
echo "<h1>Debug Pod Web Server</h1><p>Hostname: $(hostname)</p><p>Time: $(date)</p>" > /tmp/index.html
httpd -f -p 8080 -h /tmp
ports:
- containerPort: 8080
name: http
resources:
requests:
cpu: 10m
memory: 32Mi
limits:
cpu: 100m
memory: 64Mi
# Shell container for exec testing
- name: debug
image: busybox:latest
command: ["sleep", "3600"]
resources:
requests:
cpu: 10m
memory: 32Mi
limits:
cpu: 100m
memory: 64Mi
restartPolicy: Never

13
debug/debug-svc.yaml Normal file
View File

@@ -0,0 +1,13 @@
apiVersion: v1
kind: Service
metadata:
name: debug-service
namespace: default
spec:
selector:
app: debug
ports:
- port: 8080
targetPort: 8080
name: http
type: ClusterIP