Files
open-cluster-management/deploy/hub/deployment.yaml
Yuchen YAO 20f60635e9 enable feature gates (#213)
Signed-off-by: ycyaoxdu <yaoyuchen0626@163.com>
2022-03-22 09:35:24 +01:00

33 lines
800 B
YAML

kind: Deployment
apiVersion: apps/v1
metadata:
name: hub-registration-controller
labels:
app: hub-registration-controller
spec:
replicas: 1
selector:
matchLabels:
app: hub-registration-controller
template:
metadata:
labels:
app: hub-registration-controller
spec:
serviceAccountName: hub-sa
containers:
- name: hub-controller
image: quay.io/open-cluster-management/registration:latest
imagePullPolicy: IfNotPresent
args:
- "/registration"
- "controller"
- "--feature-gates=DefaultClusterSet=true"
securityContext:
allowPrivilegeEscalation: false
capabilities:
drop:
- ALL
privileged: false
runAsNonRoot: true