Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error in Pod creation with secret volumemount #1316

Closed
sarabala1979 opened this issue Apr 10, 2019 · 1 comment
Closed

Error in Pod creation with secret volumemount #1316

sarabala1979 opened this issue Apr 10, 2019 · 1 comment
Assignees
Milestone

Comments

@sarabala1979
Copy link
Member

Is this a BUG REPORT or FEATURE REQUEST?:
BUG
What happened:
``clone: Pod "workflow-tsrpt-2690801234" is invalid: [spec.containers[0].volumeMounts[2].mountPath: Invalid value: "/argo/secret": must be unique, spec.initContainers[0].volumeMounts[2].mountPath: Invalid value: "/argo/secret": must be unique]
What you expected to happen:

How to reproduce it (as minimally and precisely as possible):

  • container:
    command:
    - git
    - status
    image: alpine/git
    workingDir: /mnt/vol/ui
    inputs:
    artifacts:
    - git:
    repo: 'https://github.com/$org/ui'
    revision: '{{workflow.parameters.revision}}'
    usernameSecret:
    key: gh-token
    name: github-token
    name: source
    path: /mnt/vol/ui
    name: git-clone
    outputs:
    artifacts:
    - name: source
    path: /mnt/vol/ui
    Anything else we need to know?:

Environment:

  • Argo version:
$ argo version
  • Kubernetes version :
$ kubectl version -o yaml

Other debugging information (if applicable):

  • workflow result:
$ argo get <workflowname>
  • executor logs:
$ kubectl logs <failedpodname> -c init
$ kubectl logs <failedpodname> -c wait
  • workflow-controller logs:
$ kubectl logs -n kube-system $(kubectl get pods -l app=workflow-controller -n kube-system -o name)
@sarabala1979 sarabala1979 self-assigned this Apr 11, 2019
@sarabala1979 sarabala1979 added this to the v2.3 milestone Apr 11, 2019
@sarabala1979
Copy link
Member Author

#1318

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

No branches or pull requests

1 participant