ml-quantum-tensorflow-py/kubeflow/kfapp/kustomize/bootstrap/base/stateful-set.yaml
2020-04-06 17:23:26 -07:00

26 lines
692 B
YAML

apiVersion: apps/v1
kind: StatefulSet
metadata:
name: stateful-set
spec:
replicas: 1
serviceName: service
template:
spec:
containers:
- command:
- sh
- /var/webhook-config/create_ca.sh
image: gcr.io/kubeflow-images-public/ingress-setup:latest
name: bootstrap
volumeMounts:
- mountPath: /var/webhook-config/
name: admission-webhook-config
restartPolicy: Always
serviceAccountName: service-account
volumes:
- configMap:
name: config-map
name: admission-webhook-config
# Workaround for https://github.com/kubernetes-sigs/kustomize/issues/677
volumeClaimTemplates: []