Skip to content

Commit

Permalink
refactor: consolidate keyvault-flexvolume addon spec (Azure#3389)
Browse files Browse the repository at this point in the history
  • Loading branch information
jackfrancis authored and penggu committed Oct 28, 2020
1 parent dcabf10 commit 333f689
Show file tree
Hide file tree
Showing 7 changed files with 299 additions and 749 deletions.

This file was deleted.

This file was deleted.

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
apiVersion: apps/v1
apiVersion: {{if IsKubernetesVersionGe "1.16.0"}}apps/v1{{else}}extensions/v1beta1{{end}}
kind: DaemonSet
metadata:
labels:
Expand All @@ -10,17 +10,21 @@ metadata:
spec:
updateStrategy:
type: RollingUpdate
{{- if IsKubernetesVersionGe "1.16.0"}}
selector:
matchLabels:
app: keyvault-flexvolume
{{- end}}
template:
metadata:
labels:
app: keyvault-flexvolume
kubernetes.io/cluster-service: "true"
addonmanager.kubernetes.io/mode: Reconcile
{{- if IsKubernetesVersionGe "1.17.0"}}
annotations:
cluster-autoscaler.kubernetes.io/daemonset-pod: "true"
{{- end}}
spec:
priorityClassName: system-cluster-critical
tolerations:
Expand Down

This file was deleted.

4 changes: 2 additions & 2 deletions pkg/engine/const.go
Original file line number Diff line number Diff line change
Expand Up @@ -216,8 +216,8 @@ const (
blobfuseFlexVolumeAddonDestinationFilename string = "blobfuse-flexvolume.yaml"
smbFlexVolumeAddonSourceFilename string = "kubernetesmasteraddons-smb-flexvolume-installer.yaml"
smbFlexVolumeAddonDestinationFilename string = "smb-flexvolume-installer.yaml"
keyvaultFlexVolumeAddonSourceFilename string = "kubernetesmasteraddons-keyvault-flexvolume-installer.yaml"
keyvaultFlexVolumeAddonDestinationFilename string = "keyvault-flexvolume-installer.yaml"
keyvaultFlexVolumeAddonSourceFilename string = "keyvault-flexvolume.yaml"
keyvaultFlexVolumeAddonDestinationFilename string = "keyvault-flexvolume.yaml"
dashboardAddonSourceFilename string = "kubernetes-dashboard.yaml"
dashboardAddonDestinationFilename string = "kubernetes-dashboard.yaml"
reschedulerAddonSourceFilename string = "kube-rescheduler.yaml"
Expand Down
Loading

0 comments on commit 333f689

Please sign in to comment.