def call(Map args) { def defaults = [ version: env.BRANCH_NAME, repo: 'europe-west3-docker.pkg.dev/prod-cobundu-datascience-eu/ds', ] args = defaults << args """ apiVersion: v1 kind: Pod spec: containers: - name: ${args.application} image: ${args.repo}/${args.application}:${args.version} imagePullPolicy: Always command: ["tail", "-f", "/dev/null"] resources: requests: memory: "512M" cpu: "2000m" """ }