Skip to content
This repository has been archived by the owner on Oct 9, 2023. It is now read-only.

Support GeneratedNameMaxLength property #245

Merged
merged 4 commits into from
Mar 24, 2021

Conversation

regadas
Copy link
Contributor

@regadas regadas commented Mar 23, 2021

Addresses part of flyteorg/flyte#858. needs rebase after flyteorg/flyteplugins#167

Type

  • Bug Fix
  • Feature
  • Plugin

Are all requirements met?

  • Code completed
  • Smoke tested
  • Unit tests added
  • Code documentation added
  • Any pending items have an associated Issue

Tracking Issue

flyteorg/flyte#858

@regadas regadas requested review from EngHabu and kumare3 as code owners March 23, 2021 12:02
@regadas regadas force-pushed the generated_name_length branch from 3bcaf57 to 5340d24 Compare March 23, 2021 12:03
@regadas regadas force-pushed the generated_name_length branch 2 times, most recently from c59294e to 6fdd31f Compare March 24, 2021 13:31
f := append(o.GetFinalizers(), finalizer)
o.SetFinalizers(f)
}
}

func (e *PluginManager) GetProperties() pluginsCore.PluginProperties {
return pluginsCore.PluginProperties{}
props := e.plugin.GetProperties()
Copy link
Contributor

Choose a reason for hiding this comment

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

why not just return e.plugin.GetProperties()?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

right, so in this case e.plugin is a k8s.Plugin and GetProperties here returns a k8s.PluginProperties which can contain properties that only make sense for k8s.

Copy link
Contributor

Choose a reason for hiding this comment

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

aah oops, sorry missed that

regadas added 3 commits March 24, 2021 21:07
Signed-off-by: Filipe Regadas <[email protected]>
Signed-off-by: Filipe Regadas <[email protected]>
@regadas regadas force-pushed the generated_name_length branch from bd04a3c to df3774c Compare March 24, 2021 21:08
Signed-off-by: Filipe Regadas <[email protected]>
@codecov
Copy link

codecov bot commented Mar 24, 2021

Codecov Report

Merging #245 (c51d466) into master (d728d8e) will decrease coverage by 0.00%.
The diff coverage is 76.19%.

@kumare3 kumare3 merged commit b2dfbfb into flyteorg:master Mar 24, 2021
@regadas regadas deleted the generated_name_length branch March 25, 2021 09:07
kumare3 pushed a commit that referenced this pull request May 25, 2021
* Support GeneratedNameMaxLength property

Signed-off-by: Filipe Regadas <[email protected]>

* Use pluginCore LoadPlugin

Signed-off-by: Filipe Regadas <[email protected]>

* Update flyteplugins to v0.5.40

Signed-off-by: Filipe Regadas <[email protected]>

* Fix lint

Signed-off-by: Filipe Regadas <[email protected]>
Signed-off-by: Ketan Umare <[email protected]>
eapolinario pushed a commit to eapolinario/flytepropeller that referenced this pull request Aug 9, 2023
* Support GeneratedNameMaxLength property

Signed-off-by: Filipe Regadas <[email protected]>

* Use pluginCore LoadPlugin

Signed-off-by: Filipe Regadas <[email protected]>

* Update flyteplugins to v0.5.40

Signed-off-by: Filipe Regadas <[email protected]>

* Fix lint

Signed-off-by: Filipe Regadas <[email protected]>
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.

3 participants