Skip to content
This repository has been archived by the owner on Nov 1, 2022. It is now read-only.

init containers are not updated #1371

Closed
stefanprodan opened this issue Sep 18, 2018 · 1 comment
Closed

init containers are not updated #1371

stefanprodan opened this issue Sep 18, 2018 · 1 comment
Labels

Comments

@stefanprodan
Copy link
Member

stefanprodan commented Sep 18, 2018

If the init container image is not present in containers Flux will not update it.

Different images (the busybox never gets updated):

apiVersion: apps/v1
kind: Deployment
metadata:
  name: podinfo
  namespace: default
  annotations:
    flux.weave.works/automated: "true"
spec:
  replicas: 1
  selector:
    matchLabels:
      app: podinfo
  template:
    metadata:
      labels:
        app: podinfo
    spec:
      initContainers:
      - name: init
        image: busybox:1.25
        command:
        - sleep
        - "1"
      containers:
      - name: podinfod
        image: quay.io/stefanprodan/podinfo:1.2.0
        command:
        - ./podinfo
        - --port=9898
        ports:
        - name: http
          containerPort: 9898
@stefanprodan stefanprodan changed the title init container are not updated init containers are not updated Sep 18, 2018
@squaremo
Copy link
Member

Oh yes I see how this happens. Fix coming up.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants