Skip to content
This repository has been archived by the owner on Sep 4, 2020. It is now read-only.

The fromVariable in Application config not work #547

Open
nonokangwei opened this issue Mar 16, 2020 · 0 comments
Open

The fromVariable in Application config not work #547

nonokangwei opened this issue Mar 16, 2020 · 0 comments
Labels
Type: Bug Something isn't working

Comments

@nonokangwei
Copy link

Output of helm version:

Output of kubectl version:
Client Version: version.Info{Major:"1", Minor:"16", GitVersion:"v1.16.0", GitCommit:"2bd9643cee5b3b3a5ecbd3af49d09018f0773c77", GitTreeState:"clean", BuildDate:"2019-09-18T14:36:53Z", GoVersion:"go1.12.9", Compiler:"gc", Platform:"linux/amd64"}
Server Version: version.Info{Major:"1", Minor:"15", GitVersion:"v1.15.7", GitCommit:"c83d931fb9bece427bc63a02349755e0f8696d3e", GitTreeState:"clean", BuildDate:"2020-01-31T20:09:49Z", GoVersion:"go1.12.12", Compiler:"gc", Platform:"linux/amd64"}
Cloud Provider/Platform (AKS, GKE, Minikube etc.):
AKS

Describe the bug
The fromVariable() in application config not work

OAM yaml files used
apiVersion: core.oam.dev/v1alpha1
kind: ApplicationConfiguration
metadata:
name: example-var-task
spec:
variables:
- name: DEMO
value: HelloWorld
components:
- componentName: helloworld-python-v1
instanceName: one-alpine-var-task
parameterValues:
- name: demo
value: "[fromVariable(DEMO)]"

What happened:
kubectl logs one-alpine-var-task-g4mjf
[fromVariable(DEMO)]

the the variable not take into the pod.

What you expected to happen:
the variable should take into the pod

Relevant screenshots:

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

Anything else we need to know:

@nonokangwei nonokangwei added the Type: Bug Something isn't working label Mar 16, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Type: Bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant