12-alm-operator.deployment.yaml 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. ##---
  2. # Source: olm/templates/12-alm-operator.deployment.yaml
  3. apiVersion: apps/v1
  4. kind: Deployment
  5. metadata:
  6. name: alm-operator
  7. namespace: operator-lifecycle-manager
  8. labels:
  9. app: alm-operator
  10. spec:
  11. strategy:
  12. type: RollingUpdate
  13. replicas: 1
  14. selector:
  15. matchLabels:
  16. app: alm-operator
  17. template:
  18. metadata:
  19. labels:
  20. app: alm-operator
  21. spec:
  22. serviceAccountName: olm-operator-serviceaccount
  23. containers:
  24. - name: alm-operator
  25. command:
  26. - /bin/olm
  27. image: quay.io/coreos/olm@sha256:44b445850b3e612c062424c3727bb85048ec8e71407b39985786d29aa20f5c79
  28. imagePullPolicy: IfNotPresent
  29. ports:
  30. - containerPort: 8080
  31. livenessProbe:
  32. httpGet:
  33. path: /healthz
  34. port: 8080
  35. readinessProbe:
  36. httpGet:
  37. path: /healthz
  38. port: 8080
  39. env:
  40. - name: OPERATOR_NAMESPACE
  41. valueFrom:
  42. fieldRef:
  43. fieldPath: metadata.namespace
  44. - name: OPERATOR_NAME
  45. value: alm-operator
  46. imagePullSecrets:
  47. - name: coreos-pull-secret