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

refactor: move addons consts to pkg/api/common #2383

Merged
merged 2 commits into from Dec 4, 2019

Conversation

jackfrancis
Copy link
Member

Reason for Change:

Addon name consts are being used by both template generation (pkg/engine) and cluster data model composition (pkg/api). This PR moves all addon consts to pkg/api/common so that we no longer have duplicate const definitions of the same values for local usage in pkg/engine and pkg/api, respectively.

Issue Fixed:

Requirements:

Notes:

@codecov
Copy link

codecov bot commented Dec 3, 2019

Codecov Report

Merging #2383 into master will not change coverage.
The diff coverage is 93.33%.

@@           Coverage Diff           @@
##           master    #2383   +/-   ##
=======================================
  Coverage   72.08%   72.08%           
=======================================
  Files         130      130           
  Lines       23344    23344           
=======================================
  Hits        16828    16828           
  Misses       5491     5491           
  Partials     1025     1025

Copy link
Contributor

@CecileRobertMichon CecileRobertMichon left a comment

Choose a reason for hiding this comment

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

/lgtm

@acs-bot acs-bot added the lgtm label Dec 3, 2019
@CecileRobertMichon CecileRobertMichon added the needs-rebase Changes in the target branch require a `git rebase` and `git push -f` label Dec 3, 2019
@acs-bot
Copy link

acs-bot commented Dec 3, 2019

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: CecileRobertMichon, jackfrancis

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:
  • OWNERS [CecileRobertMichon,jackfrancis]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@acs-bot
Copy link

acs-bot commented Dec 4, 2019

New changes are detected. LGTM label has been removed.

@CecileRobertMichon CecileRobertMichon removed the needs-rebase Changes in the target branch require a `git rebase` and `git push -f` label Dec 4, 2019
@jackfrancis jackfrancis merged commit 9a99737 into Azure:master Dec 4, 2019
@jackfrancis jackfrancis deleted the addons-consts branch December 4, 2019 22:27
devigned pushed a commit to devigned/aks-engine that referenced this pull request Dec 9, 2019
@jackfrancis jackfrancis added this to the v0.45.0 milestone Dec 16, 2019
@jackfrancis
Copy link
Member Author

Related to #2251

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants