Skip to content

Commit

Permalink
set image registry for aws ebs csi driver (#630)
Browse files Browse the repository at this point in the history
  • Loading branch information
whites11 authored Jul 5, 2022
1 parent 13700c6 commit c381962
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 29 deletions.
7 changes: 6 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Bump kubernetes to `1.22.11`.
- Bump `coredns` app to `1.10.1`.
- Bump `nginx-ingress-controller` app to `2.14.0`.
- [AWS] Bump `aws-ebs-csi-driver` to `2.14.0`.
- [AWS] Bump `aws-ebs-csi-driver` to `2.15.0`.
- [AWS] Bump `aws-node-termination-handler` to `1.16.5-gs1`.
- [AWS] Bump `aws-cloud-controller-manager` to `1.22.4-gs1`.
- [AWS] Bump `aws-attach-etcd-dep` to `0.4.0`.
- [Azure] Bump `azuredisk-csi-driver` to `1.19.0-gs1`.
- [Azure] Bump `azure-cloud-controller-manager` to `1.1.17-gs1`.
- [Azure] Bump `azure-cloud-node-manager` to `1.1.17-gs1`.
Expand All @@ -29,6 +30,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

- Bump etcd image version to 3.5.4 for etcd3-defrag unit.

### Removed

- Don't create priority classes any more (chart-operator does that now).

## [10.2.0] - 2022-06-29

### Changed
Expand Down
5 changes: 4 additions & 1 deletion templates/files/apps/aws/aws-ebs-csi-driver-app.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,9 @@ data:
hostNetwork: false
nodeSelector:
kubernetes.io/os: linux
global:
image:
registry: {{.DockerRegistry}}
---
apiVersion: application.giantswarm.io/v1alpha1
kind: App
Expand Down Expand Up @@ -50,4 +53,4 @@ spec:
secret:
name: ""
namespace: ""
version: 2.14.0
version: 2.15.0
10 changes: 0 additions & 10 deletions templates/files/conf/k8s-addons
Original file line number Diff line number Diff line change
Expand Up @@ -53,16 +53,6 @@ do
done
done

# apply priority classes
PRIORITY_CLASSES_FILE="priority_classes.yaml"
while
$KUBECTL apply -f /srv/${PRIORITY_CLASSES_FILE}
[ "$?" -ne "0" ]
do
echo "failed to apply /srv/${PRIORITY_CLASSES_FILE}, retrying in 5 sec"
sleep 5s
done

# create kube-proxy configmap
while
$KUBECTL create configmap kube-proxy --from-file=kube-proxy.yaml=/srv/kube-proxy-config.yaml -o yaml --dry-run | $KUBECTL apply -n kube-system -f -
Expand Down
7 changes: 0 additions & 7 deletions templates/files/k8s-resource/priority_classes.yaml

This file was deleted.

11 changes: 1 addition & 10 deletions templates/master.yaml.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -80,15 +80,6 @@ storage:
contents:
source: "data:text/plain;charset=utf-8;base64,{{ index .Files "k8s-resource/calico-all.yaml" }}"
{{ end }}
- path: /srv/priority_classes.yaml
filesystem: root
mode: 420
user:
id: 0
group:
id: 0
contents:
source: "data:text/plain;charset=utf-8;base64,{{ index .Files "k8s-resource/priority_classes.yaml" }}"

- path: /srv/default-storage-class.yaml
filesystem: root
Expand Down Expand Up @@ -986,7 +977,7 @@ systemd:
Before=k8s-kubelet.service

[Service]
Environment="IMAGE={{.DockerRegistry}}/giantswarm/aws-attach-etcd-dep:0.3.0"
Environment="IMAGE={{.DockerRegistry}}/giantswarm/aws-attach-etcd-dep:0.4.0"
Environment="NAME=%p.service"
Environment=MASTER_ID={{.MasterID}}
Type=oneshot
Expand Down

0 comments on commit c381962

Please sign in to comment.