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

refactor: consolidate azure-network-policy addon spec #3283

Merged
merged 3 commits into from
May 18, 2020

Conversation

mboersma
Copy link
Member

Reason for Change:
Eases maintenance of the (newly renamed) azure-network-policy addon by consolidating manifests into a single YAML file that uses Go templating.

Issue Fixed:
Addresses #3188.

Requirements:

Notes:

@codecov
Copy link

codecov bot commented May 18, 2020

Codecov Report

Merging #3283 into master will increase coverage by 0.10%.
The diff coverage is 25.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #3283      +/-   ##
==========================================
+ Coverage   71.64%   71.75%   +0.10%     
==========================================
  Files         147      147              
  Lines       25583    25550      -33     
==========================================
+ Hits        18330    18333       +3     
+ Misses       6115     6079      -36     
  Partials     1138     1138              
Impacted Files Coverage Δ
pkg/engine/templates_generated.go 41.43% <0.00%> (+0.72%) ⬆️
pkg/api/addons.go 97.90% <100.00%> (+<0.01%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 0e7205f...b93c117. Read the comment docs.

@jackfrancis
Copy link
Member

Just to be pedantic we aren't renaming the addon here, just the source yaml file that we use to maintain it.

@mboersma mboersma force-pushed the consolidate-azure-npm-spec branch from 5a4f7a5 to f670965 Compare May 18, 2020 17:39
annotations:
scheduler.alpha.kubernetes.io/critical-pod: ''
{{- if IsKubernetesVersionGe "1.17.0"}}
cluster-autoscaler.kubernetes.io/daemonset-pod: "true"
{{- end}}
Copy link
Member

Choose a reason for hiding this comment

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

We need the newlines here in both negative cases, so should be {{end}}

Copy link
Member

Choose a reason for hiding this comment

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

disregard this comment

Copy link
Member

@jackfrancis jackfrancis 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 May 18, 2020
@jackfrancis jackfrancis merged commit cdb4a82 into Azure:master May 18, 2020
@acs-bot
Copy link

acs-bot commented May 18, 2020

[APPROVALNOTIFIER] This PR is APPROVED

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

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 [jackfrancis,mboersma]

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

@mboersma mboersma deleted the consolidate-azure-npm-spec branch June 5, 2020 13:08
penggu pushed a commit to penggu/aks-engine that referenced this pull request Oct 28, 2020
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.

3 participants