apiVersion: apps/v1
kind: Deployment
metadata:
  name: elekto
  namespace: elekto
  labels:
    app: elekto
spec:
  replicas: 1
  selector:
    matchLabels:
      app: elekto
  strategy:
    type: Recreate
  template:
    metadata:
      labels:
        app: elekto
    spec:
      containers:
        - image: ghcr.io/elekto-io/elekto:sha-c25fc16
          imagePullPolicy: Always
          name: elekto
          ports:
            - containerPort: 8080
              protocol: TCP
          readinessProbe:
            failureThreshold: 5
            httpGet:
              path: /health
              port: 8080
              scheme: HTTP
            initialDelaySeconds: 30
            periodSeconds: 60
            timeoutSeconds: 5
          resources:
            limits:
              memory: 1500M
          securityContext:
            allowPrivilegeEscalation: false
            privileged: false
          envFrom:
            - configMapRef:
                name: elekto-config
            - secretRef:
                name: elekto-secret
          terminationMessagePath: /dev/termination-log
          terminationMessagePolicy: File
      restartPolicy: Always
      terminationGracePeriodSeconds: 30

apiVersion: apps/v1
kind: Deployment
metadata:
  name: elekto
  namespace: elekto
  labels:
    app: elekto
spec:
  replicas: 1
  selector:
    matchLabels:
      app: elekto
  strategy:
    type: Recreate
  template:
    metadata:
      labels:
        app: elekto
    spec:
      containers:
        - image: ghcr.io/elekto-io/elekto:sha-46597d4
          imagePullPolicy: Always
          name: elekto
          ports:
            - containerPort: 8080
              protocol: TCP
          readinessProbe:
            failureThreshold: 5
            httpGet:
              path: /health
              port: 8080
              scheme: HTTP
            initialDelaySeconds: 30
            periodSeconds: 60
            timeoutSeconds: 5
          resources:
            limits:
              memory: 1500M
          securityContext:
            allowPrivilegeEscalation: false
            privileged: false
          envFrom:
            - configMapRef:
                name: elekto-config
            - secretRef:
                name: elekto-secret
          terminationMessagePath: /dev/termination-log
          terminationMessagePolicy: File
      restartPolicy: Always
      terminationGracePeriodSeconds: 30

Update elekto to 0.5.1 version
Update elekto to 0.5.1 version

This is partly an attempt to address issue 2955
with recasting ballots, also some UI wording improvements

Signed-off-by: Josh Berkus <c028c213ed5efcf30c3f4fc7361dbde0c893c5b7@agliodbs.com>
