Skip to content

Commit

Permalink
Update to Gardener v1.13.2 and cleanup old migration paths. (#166)
Browse files Browse the repository at this point in the history
* Update to Gardener v1.13.2 and cleanup old migration paths.

* Fix linting issue.

* More updates.

* Remove resource manager override.
  • Loading branch information
Gerrit91 authored Mar 31, 2021
1 parent 4c91d7e commit 563b8e7
Show file tree
Hide file tree
Showing 36 changed files with 159 additions and 685 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
{{- if .Values.deployOOT }}
---
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
Expand All @@ -22,4 +21,3 @@ rules:
- events
verbs:
- "*"
{{- end }}
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
{{- if .Values.deployOOT }}
---
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRoleBinding
Expand All @@ -19,4 +18,3 @@ subjects:
- kind: ServiceAccount
name: machine-controller-manager
namespace: {{ .Release.Namespace }}
{{- end }}
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
{{- if .Values.deployOOT }}
---
apiVersion: v1
kind: ConfigMap
Expand Down Expand Up @@ -51,4 +50,3 @@ data:
dashboard_operators: |
machine-controller-manager-dashboard.json: |-
{{ .Files.Get "mcm-monitoring-dashboard.json" | indent 6 }}
{{- end }}
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
{{- if .Values.deployOOT }}
---
apiVersion: apps/v1
kind: Deployment
Expand Down Expand Up @@ -122,4 +121,3 @@ spec:
- name: machine-controller-manager
secret:
secretName: machine-controller-manager
{{- end }}

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

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,3 @@
{{- if .Values.deployOOT }}
---
apiVersion: v1
kind: Service
Expand All @@ -18,4 +17,3 @@ spec:
selector:
app: kubernetes
role: machine-controller-manager
{{- end }}
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
{{- if .Values.deployOOT }}
---
apiVersion: v1
kind: ServiceAccount
metadata:
name: machine-controller-manager
namespace: {{ .Release.Namespace }}
{{- end }}
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
{{- if .Values.deployOOT }}
{{- if .Values.vpa.enabled }}
apiVersion: autoscaling.k8s.io/v1beta2
kind: VerticalPodAutoscaler
Expand All @@ -13,4 +12,3 @@ spec:
updatePolicy:
updateMode: {{ .Values.vpa.updatePolicy.updateMode | quote }}
{{- end }}
{{- end }}
2 changes: 0 additions & 2 deletions charts/internal/machine-controller-manager/seed/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,5 +19,3 @@ vpa:
enabled: true
updatePolicy:
updateMode: "Auto"

deployOOT: false
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
{{- if .Values.deployOOT }}
---
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
Expand Down Expand Up @@ -61,4 +60,3 @@ rules:
- patch
- update
- watch
{{- end }}
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
{{- if .Values.deployOOT }}
---
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRoleBinding
Expand All @@ -11,4 +10,3 @@ roleRef:
subjects:
- kind: User
name: system:machine-controller-manager
{{- end }}
Loading

0 comments on commit 563b8e7

Please sign in to comment.