mirror of
https://github.com/storytold/irsa-manager.git
synced 2026-10-09 00:09:43 +00:00
34 lines
918 B
YAML
34 lines
918 B
YAML
apiVersion: apps/v1
|
|
kind: Deployment
|
|
metadata:
|
|
name: pod-identity-webhook
|
|
namespace: kube-system
|
|
spec:
|
|
replicas: 1
|
|
selector:
|
|
matchLabels:
|
|
app: pod-identity-webhook
|
|
template:
|
|
metadata:
|
|
labels:
|
|
app: pod-identity-webhook
|
|
spec:
|
|
serviceAccountName: pod-identity-webhook
|
|
containers:
|
|
- name: pod-identity-webhook
|
|
image: quay.io/amis/pod-identity-webhook:v0.0.1
|
|
imagePullPolicy: Always
|
|
# command:
|
|
# - /webhook
|
|
# - --in-cluster
|
|
# - --namespace=kube-system
|
|
# - --service-name=pod-identity-webhook
|
|
# - --tls-secret=pod-identity-webhook
|
|
# - --annotation-prefix=eks.amazonaws.com
|
|
# - --token-audience=sts.amazonaws.com
|
|
# - --logtostderr
|
|
volumeMounts:
|
|
- name: cert
|
|
mountPath: /etc/webhook/certs
|
|
readOnly: true
|