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

Allow templating for buildpack volumes #8207

Open
ghost opened this issue Dec 8, 2022 · 0 comments
Open

Allow templating for buildpack volumes #8207

ghost opened this issue Dec 8, 2022 · 0 comments

Comments

@ghost
Copy link

ghost commented Dec 8, 2022

Expected behavior

Templating for buildpack volumes work

Actual behavior

Templating for buildpack volumes doesn't work

Information

  • Skaffold version: v2.0.3
  • Operating system: macOS
  • Installed via: Homebrew
  • Contents of skaffold.yaml:

This is a java project we are trying to build with maven

apiVersion: skaffold/v4beta1
kind: Config
metadata:
  name: foo
profiles:
  - name: local
    build:
      local:
        concurrency: 1
        tryImportMissing: false
        useDockerCLI: false
      artifacts:
      - image: foo.dkr.ecr.eu-west-1.amazonaws.com/myapp/demo
        buildpacks:
          clearCache: false
          trustBuilder: false
          builder: paketobuildpacks/builder:tiny
          env:
            - ARTIFACTORY_USERNAME={{.ARTIFACTORY_USERNAME}}
            - ARTIFACTORY_PASSWORD={{.ARTIFACTORY_PASSWORD}}
          volumes:
            - host: {{.PWD}}/platform/bindings/maven
              target: /platform/bindings/maven
    manifests:
      rawYaml:
        - ./k8s/*.yaml
    deploy:
      kubectl: {} 
      kubeContext: kind-kind

Steps to reproduce the behavior

  1. Use the yaml above
  2. Start a kind cluster
  3. skaffold run -p local
  4. See that the buildpack is not able to resolve the templated value
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant