Skip to content

Not working with K8s 1.8 #7

@mhausenblas

Description

@mhausenblas

When running krm under 1.8, it throws an error. Investigate.

$ kubectl version --short
Client Version: v1.9.2
Server Version: v1.8.0

$ krm expand test/ghost-helm.yaml  | kubectl apply -f - --namespace paramdemo
INFO[0000] Parsed a Parameterizer resource from test/ghost-helm.yaml with following content:
Parameterizer {
 name: basic
 resources:
 user inputs:
 volumes:
 apply:
  - :
    with image [] executing commands:
}

Using manifest:
apiVersion: batch/v1
kind: Job
metadata:
  creationTimestamp: null
  name: krm-exec-basic-6f40297a
spec:
  template:
    metadata:
      creationTimestamp: null
    spec:
      containers:
      - command:
        - echo
        - helm-prom-operator
        image: alpine:3.7
        name: krm-result
        resources: {}
      initContainers:
      - command:
        - sh
        - -c
        - helm fetch --untar --untardir ./stable stable/ghost > /dev/null 2> /dev/null
          && helm template stable/ghost -n g1
        image: quay.io/wire/alpine-helm
        name: helm-prom-operator
        resources: {}
      restartPolicy: Never
status: {}

Executing command: create -f /tmp/krm371254186
job "krm-exec-basic-6f40297a" created
Waiting for Job krm-exec-basic-6f40297a to complete....krm-exec-basic-6f40297a-r4djs krm-exec-basic-6f40297a-xgpw6
Error from server (NotFound): pods "krm-exec-basic-6f40297a-r4djs krm-exec-basic-6f40297a-xgpw6" not found
ERRO[0014] exit status 1
error: no objects passed to apply

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions