Skip to content
This repository has been archived by the owner on Jun 8, 2022. It is now read-only.

add valueFrom AppConfig in depedency requirement #223

Merged
merged 2 commits into from
Sep 28, 2020

Conversation

wonderflow
Copy link
Member

@wonderflow wonderflow commented Sep 28, 2020

This is one part to fix issue #222

  1. add valueFrom in dependency requirement condition, that you can specify field path of AppConfig.
  2. add reason message when requirement dependency not match

Signed-off-by: 天元 <jianbo.sjb@alibaba-inc.com>
Copy link
Member

@hongchaodeng hongchaodeng left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would left LGTM here since it is mostly ready. Merge at your confidence.

// +optional
FieldPath string `json:"fieldPath,omitempty"`
}

// ValueFrom get value from AppConfig object by specify a path
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
// ValueFrom get value from AppConfig object by specify a path
// ValueFrom gets value from AppConfig object by specifying a path

@wonderflow wonderflow changed the title WIP add valueFrom AppConfig in depedency requirement add valueFrom AppConfig in depedency requirement Sep 28, 2020
Signed-off-by: 天元 <jianbo.sjb@alibaba-inc.com>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants