apiVersion: v1
kind: Pod
metadata:
  name: uninstall-pod
  namespace: default
spec:
  serviceAccountName: install-script
  containers:
    - image: github.com/n3wscott/knperf/cmd/install
      name: uninstall
      env:
      - name: ACTION
        value: uninstall
      - name: YAMLS
        value: "https://raw.githubusercontent.com/n3wscott/knperf/master/sample/installer/busybox.yml"
      - name: POD_NAMESPACE
        valueFrom:
          fieldRef:
            fieldPath: metadata.namespace
  restartPolicy: Never