# Generated by IBM TransformationAdvisor
# Fri Jan 17 13:35:10 GMT 2020
apiVersion: apps/v1
kind: Deployment
metadata:
  name: modresorts-operator
spec:
  replicas: 1
  selector:
    matchLabels:
      name: modresorts-operator
  template:
    metadata:
      labels:
        name: modresorts-operator
    spec:
      serviceAccountName: modresorts-operator
      containers:
        - name: modresorts-operator
          image: openliberty/operator:0.0.1
          imagePullPolicy: Always
          env:
            - name: WATCH_NAMESPACE
              valueFrom:
                fieldRef:
                  fieldPath: metadata.namespace
            - name: POD_NAME
              valueFrom:
                fieldRef:
                  fieldPath: metadata.name
            - name: OPERATOR_NAME
              value: "modresorts-operator"
      affinity:
        nodeAffinity:
          requiredDuringSchedulingIgnoredDuringExecution:
            nodeSelectorTerms:
            - matchExpressions:
              - key: beta.kubernetes.io/arch
                operator: In
                values:
                - amd64
          preferredDuringSchedulingIgnoredDuringExecution:
          - weight: 3
            preference:
              matchExpressions:
              - key: beta.kubernetes.io/arch
                operator: In
                values:
                - amd64
