apiVersion: apps/v1
kind: Deployment
metadata:
  name: kube-static-egress-controller
  namespace: kube-system
  labels:
    application: kube-static-egress-controller
    version: v0.1.5
spec:
  replicas: 1
  selector:
    matchLabels:
      application: kube-static-egress-controller
  template:
    metadata:
      labels:
        application: kube-static-egress-controller
        version: v0.1.5
      annotations:
        iam.amazonaws.com/role: "{{ .LocalID }}-static-egress-controller"
    spec:
      dnsConfig:
        options:
          - name: ndots
            value: "1"
      priorityClassName: system-cluster-critical
      containers:
      - name: controller
        image: registry.opensource.zalan.do/teapot/kube-static-egress-controller:v0.1.5
        args:
        - "--log-level=debug"
        - "--provider=aws"
{{- range $index, $element := split .ConfigItems.nat_cidr_blocks "," }}
        - "--aws-nat-cidr-block={{ $element }}"
{{- end }}
        - "--aws-az=eu-central-1a"
        - "--aws-az=eu-central-1b"
        - "--aws-az=eu-central-1c"
        - "--stack-termination-protection"
        env:
        - name: AWS_REGION
          value: eu-central-1
        resources:
          limits:
            cpu: 5m
            memory: 50Mi
          requests:
            cpu: 5m
            memory: 50Mi

apiVersion: apps/v1
kind: Deployment
metadata:
  name: kube-static-egress-controller
  namespace: kube-system
  labels:
    application: kube-static-egress-controller
    version: v0.1.6
spec:
  replicas: 1
  selector:
    matchLabels:
      application: kube-static-egress-controller
  template:
    metadata:
      labels:
        application: kube-static-egress-controller
        version: v0.1.6
      annotations:
        iam.amazonaws.com/role: "{{ .LocalID }}-static-egress-controller"
    spec:
      dnsConfig:
        options:
          - name: ndots
            value: "1"
      priorityClassName: system-cluster-critical
      containers:
      - name: controller
        image: registry.opensource.zalan.do/teapot/kube-static-egress-controller:v0.1.6
        args:
        - "--log-level=debug"
        - "--provider=aws"
{{- range $index, $element := split .ConfigItems.nat_cidr_blocks "," }}
        - "--aws-nat-cidr-block={{ $element }}"
{{- end }}
        - "--aws-az=eu-central-1a"
        - "--aws-az=eu-central-1b"
        - "--aws-az=eu-central-1c"
        - "--stack-termination-protection"
        env:
        - name: AWS_REGION
          value: eu-central-1
        resources:
          limits:
            cpu: 5m
            memory: 50Mi
          requests:
            cpu: 5m
            memory: 50Mi

Update Egress controller to v0.1.6
Update Egress controller to v0.1.6

Signed-off-by: Mikkel Oscar Lyderik Larsen <81479e3d2d1e6902cb05f938ea9a734a092b1af3@zalando.de>
