-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Upgrade AWS ESB CSI and switch to using Helm chart
This will make it easier to adopt the HelmAddon strategy for deploying the AWS ESB CSI addon.
- Loading branch information
1 parent
34b0b1d
commit d510a9b
Showing
15 changed files
with
236 additions
and
113 deletions.
There are no files selected for viewing
141 changes: 123 additions & 18 deletions
141
charts/capi-runtime-extensions/templates/csi/aws-ebs/manifests/aws-ebs-csi-configmap.yaml
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
# Copyright 2024 D2iQ, Inc. All rights reserved. | ||
# SPDX-License-Identifier: Apache-2.0 | ||
|
||
--- | ||
controller: | ||
affinity: | ||
nodeAffinity: | ||
requiredDuringSchedulingIgnoredDuringExecution: | ||
nodeSelectorTerms: | ||
- matchExpressions: | ||
- key: node-role.kubernetes.io/control-plane | ||
operator: Exists | ||
tolerations: | ||
- key: CriticalAddonsOnly | ||
operator: Exists | ||
- effect: NoExecute | ||
operator: Exists | ||
tolerationSeconds: 300 | ||
- effect: NoSchedule | ||
key: node-role.kubernetes.io/master | ||
operator: Exists | ||
- effect: NoSchedule | ||
key: node-role.kubernetes.io/control-plane | ||
operator: Exists | ||
node: | ||
priorityClassName: system-node-critical | ||
sidecars: | ||
snapshotter: | ||
forceEnable: true | ||
storageClasses: | ||
- metadata: | ||
name: ebs-sc | ||
volumeBindingMode: WaitForFirstConsumer | ||
parameters: | ||
csi.storage.k8s.io/fstype: ext4 | ||
type: gp3 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
11 changes: 0 additions & 11 deletions
11
hack/addons/kustomize/aws-ebs-csi/overlays/controller-priorityClassName.yaml
This file was deleted.
Oops, something went wrong.
11 changes: 0 additions & 11 deletions
11
hack/addons/kustomize/aws-ebs-csi/overlays/ds-priorityClassName.yaml
This file was deleted.
Oops, something went wrong.
17 changes: 0 additions & 17 deletions
17
hack/addons/kustomize/aws-ebs-csi/overlays/ds-tolerations.yaml
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
31 changes: 31 additions & 0 deletions
31
hack/addons/kustomize/external-snapshotter/kustomization.yaml.tmpl
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
# Copyright 2023 D2iQ, Inc. All rights reserved. | ||
# SPDX-License-Identifier: Apache-2.0 | ||
|
||
apiVersion: kustomize.config.k8s.io/v1beta1 | ||
kind: Kustomization | ||
|
||
metadata: | ||
name: external-snapshotter-kustomize | ||
|
||
namespace: kube-system | ||
|
||
resources: | ||
- github.com/kubernetes-csi/external-snapshotter/client/config/crd/?ref=${AWS_CSI_SNAPSHOT_CONTROLLER_VERSION} | ||
- github.com/kubernetes-csi/external-snapshotter/deploy/kubernetes/snapshot-controller/?ref=${AWS_CSI_SNAPSHOT_CONTROLLER_VERSION} | ||
|
||
patches: | ||
- path: ./overlays/deployment-nodeAffinity.yaml | ||
target: | ||
kind: Deployment | ||
name: snapshot-controller | ||
namespace: kube-system | ||
- path: ./overlays/deployment-priorityClassName.yaml | ||
target: | ||
kind: Deployment | ||
name: snapshot-controller | ||
namespace: kube-system | ||
|
||
# always override the images to match the version from the set envs | ||
images: | ||
- name: registry.k8s.io/sig-storage/snapshot-controller | ||
newTag: ${AWS_CSI_SNAPSHOT_CONTROLLER_VERSION} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters