initial import

This commit is contained in:
2025-10-15 11:57:36 +02:00
commit 30e0debf95
13 changed files with 808 additions and 0 deletions
+45
View File
@@ -0,0 +1,45 @@
apiVersion: apps/v1
kind: Deployment
metadata:
name: imagepullsecrets-webhook
namespace: imagepullsecrets-system
labels:
app: imagepullsecrets-webhook
spec:
replicas: 2
selector:
matchLabels:
app: imagepullsecrets-webhook
template:
metadata:
labels:
app: imagepullsecrets-webhook
spec:
serviceAccountName: imagepullsecrets-webhook
containers:
- name: webhook-server
image: imagepullsecrets-webhook
imagePullPolicy: Always
envFrom:
- configMapRef:
name: imagepullsecrets-webhook-config
env:
- name: TLS_CERT_FILE
value: "/etc/webhook/certs/tls.crt"
- name: TLS_PRIVATE_KEY_FILE
value: "/etc/webhook/certs/tls.key"
ports:
- containerPort: 8443
volumeMounts:
- name: webhook-certs
mountPath: /etc/webhook/certs
readOnly: true
volumes:
- name: webhook-certs
secret:
secretName: imagepullsecrets-webhook-certs
securityContext:
runAsNonRoot: true
runAsUser: 1000
imagePullSecrets:
- name: regcred-harbor