12-alm-operator.deployment.yaml 1.2 KB

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