Update goldilocks
This commit is contained in:
@@ -1,9 +1,9 @@
|
||||
dependencies:
|
||||
- name: vpa
|
||||
repository: https://charts.fairwinds.com/stable
|
||||
version: 2.5.1
|
||||
version: 3.0.2
|
||||
- name: metrics-server
|
||||
repository: https://charts.bitnami.com/bitnami
|
||||
version: 6.4.1
|
||||
digest: sha256:358718baff45656e3b4a9fa0cddb5c17717041839542aa223620002e55e5ce26
|
||||
generated: "2023-09-05T15:36:02.054719-06:00"
|
||||
digest: sha256:7a923abb2a353b828b45e0ae502ac0bb21b009312490ff7f4b50aebc9a29bea0
|
||||
generated: "2023-10-27T11:14:25.826905956+09:00"
|
||||
|
||||
@@ -4,7 +4,7 @@ dependencies:
|
||||
- condition: vpa.enabled
|
||||
name: vpa
|
||||
repository: https://charts.fairwinds.com/stable
|
||||
version: 2.5.*
|
||||
version: 3.0.*
|
||||
- condition: metrics-server.enabled
|
||||
name: metrics-server
|
||||
repository: https://charts.bitnami.com/bitnami
|
||||
@@ -22,4 +22,4 @@ maintainers:
|
||||
name: goldilocks
|
||||
sources:
|
||||
- https://github.com/FairwindsOps/goldilocks
|
||||
version: 7.3.1
|
||||
version: 8.0.1
|
||||
|
||||
@@ -16,4 +16,4 @@ sources:
|
||||
- https://github.com/FairwindsOps/charts/tree/master/stable/vpa
|
||||
- https://github.com/kubernetes/autoscaler/tree/master/vertical-pod-autoscaler
|
||||
type: application
|
||||
version: 2.5.1
|
||||
version: 3.0.2
|
||||
|
||||
@@ -25,6 +25,32 @@ The admissionController is the only one that poses a stability consideration bec
|
||||
|
||||
For more details, please see the values below, and the vertical pod autosclaer documentation.
|
||||
|
||||
## *BREAKING* Upgrading from <= v2.5.1 to 3.0.0
|
||||
|
||||
### ClusterRole rules
|
||||
|
||||
Previously, ClusterRoles were created by default from templates and could not be extended with custom rules. Since `3.0.0` version it is possible.
|
||||
|
||||
You can define it as follows:
|
||||
|
||||
```yaml
|
||||
rbac:
|
||||
extraRules:
|
||||
vpaActor:
|
||||
- apiGroups:
|
||||
- batch
|
||||
resources:
|
||||
- '*'
|
||||
verbs:
|
||||
- get
|
||||
vpaCheckpointActor: []
|
||||
vpaEvictioner: []
|
||||
vpaMetricsReader: []
|
||||
vpaTargetReader: []
|
||||
vpaStatusReader: []
|
||||
|
||||
```
|
||||
|
||||
## *BREAKING* Upgrading from <= v1.7.x to 2.0.0
|
||||
|
||||
### Certificate generation
|
||||
@@ -107,7 +133,14 @@ recommender:
|
||||
| nameOverride | string | `""` | A template override for the name |
|
||||
| fullnameOverride | string | `""` | A template override for the fullname |
|
||||
| podLabels | object | `{}` | Labels to add to all pods |
|
||||
| rbac.create | bool | `true` | If true, then rbac resources (clusterroles and clusterrolebindings) will be created for the selected components. Temporary rbac resources will still be created, to ensure a functioning installation process |
|
||||
| rbac.create | bool | `true` | If true, then rbac resources (ClusterRoles and ClusterRoleBindings) will be created for the selected components. Temporary rbac resources will still be created, to ensure a functioning installation process |
|
||||
| rbac.extraRules | object | `{"vpaActor":[],"vpaCheckpointActor":[],"vpaEvictioner":[],"vpaMetricsReader":[],"vpaStatusReader":[],"vpaTargetReader":[]}` | Extra rbac rules for ClusterRoles |
|
||||
| rbac.extraRules.vpaActor | list | `[]` | Extra rbac rules for the vpa-actor ClusterRole |
|
||||
| rbac.extraRules.vpaCheckpointActor | list | `[]` | Extra rbac rules for the vpa-checkpoint-actor ClusterRole |
|
||||
| rbac.extraRules.vpaEvictioner | list | `[]` | Extra rbac rules for the vpa-evictioner ClusterRole |
|
||||
| rbac.extraRules.vpaMetricsReader | list | `[]` | Extra rbac rules for the vpa-metrics-reader ClusterRole |
|
||||
| rbac.extraRules.vpaTargetReader | list | `[]` | Extra rbac rules for the vpa-target-reader ClusterRole |
|
||||
| rbac.extraRules.vpaStatusReader | list | `[]` | Extra rbac rules for the vpa-status-reader ClusterRole |
|
||||
| serviceAccount.create | bool | `true` | Specifies whether a service account should be created for each component |
|
||||
| serviceAccount.annotations | object | `{}` | Annotations to add to the service accounts for each component |
|
||||
| serviceAccount.name | string | `""` | The base name of the service account to use (appended with the component). If not set and create is true, a name is generated using the fullname template and appended for each component |
|
||||
|
||||
@@ -25,6 +25,32 @@ The admissionController is the only one that poses a stability consideration bec
|
||||
|
||||
For more details, please see the values below, and the vertical pod autosclaer documentation.
|
||||
|
||||
## *BREAKING* Upgrading from <= v2.5.1 to 3.0.0
|
||||
|
||||
### ClusterRole rules
|
||||
|
||||
Previously, ClusterRoles were created by default from templates and could not be extended with custom rules. Since `3.0.0` version it is possible.
|
||||
|
||||
You can define it as follows:
|
||||
|
||||
```yaml
|
||||
rbac:
|
||||
extraRules:
|
||||
vpaActor:
|
||||
- apiGroups:
|
||||
- batch
|
||||
resources:
|
||||
- '*'
|
||||
verbs:
|
||||
- get
|
||||
vpaCheckpointActor: []
|
||||
vpaEvictioner: []
|
||||
vpaMetricsReader: []
|
||||
vpaTargetReader: []
|
||||
vpaStatusReader: []
|
||||
|
||||
```
|
||||
|
||||
## *BREAKING* Upgrading from <= v1.7.x to 2.0.0
|
||||
|
||||
### Certificate generation
|
||||
|
||||
@@ -1,3 +1,59 @@
|
||||
rbac:
|
||||
extraRules:
|
||||
vpaActor:
|
||||
- apiGroups:
|
||||
- batch
|
||||
resources:
|
||||
- '*'
|
||||
verbs:
|
||||
- get
|
||||
- list
|
||||
- watch
|
||||
vpaCheckpointActor:
|
||||
- apiGroups:
|
||||
- batch
|
||||
resources:
|
||||
- '*'
|
||||
verbs:
|
||||
- get
|
||||
- list
|
||||
- watch
|
||||
vpaEvictioner:
|
||||
- apiGroups:
|
||||
- batch
|
||||
resources:
|
||||
- '*'
|
||||
verbs:
|
||||
- get
|
||||
- list
|
||||
- watch
|
||||
vpaMetricsReader:
|
||||
- apiGroups:
|
||||
- batch
|
||||
resources:
|
||||
- '*'
|
||||
verbs:
|
||||
- get
|
||||
- list
|
||||
- watch
|
||||
vpaTargetReader:
|
||||
- apiGroups:
|
||||
- batch
|
||||
resources:
|
||||
- '*'
|
||||
verbs:
|
||||
- get
|
||||
- list
|
||||
- watch
|
||||
vpaStatusReader:
|
||||
- apiGroups:
|
||||
- batch
|
||||
resources:
|
||||
- '*'
|
||||
verbs:
|
||||
- get
|
||||
- list
|
||||
- watch
|
||||
recommender:
|
||||
enabled: true
|
||||
annotations:
|
||||
|
||||
@@ -12,6 +12,9 @@ rules:
|
||||
verbs:
|
||||
- get
|
||||
- list
|
||||
{{- if .Values.rbac.extraRules.vpaMetricsReader -}}
|
||||
{{ toYaml .Values.rbac.extraRules.vpaMetricsReader | nindent 2 }}
|
||||
{{- end }}
|
||||
---
|
||||
apiVersion: rbac.authorization.k8s.io/v1
|
||||
kind: ClusterRole
|
||||
@@ -55,6 +58,9 @@ rules:
|
||||
- list
|
||||
- watch
|
||||
- patch
|
||||
{{- if .Values.rbac.extraRules.vpaActor -}}
|
||||
{{ toYaml .Values.rbac.extraRules.vpaActor | nindent 2 }}
|
||||
{{- end }}
|
||||
---
|
||||
apiVersion: rbac.authorization.k8s.io/v1
|
||||
kind: ClusterRole
|
||||
@@ -90,6 +96,9 @@ rules:
|
||||
verbs:
|
||||
- get
|
||||
- list
|
||||
{{- if .Values.rbac.extraRules.vpaCheckpointActor -}}
|
||||
{{ toYaml .Values.rbac.extraRules.vpaCheckpointActor | nindent 2 }}
|
||||
{{- end }}
|
||||
---
|
||||
apiVersion: rbac.authorization.k8s.io/v1
|
||||
kind: ClusterRole
|
||||
@@ -109,6 +118,9 @@ rules:
|
||||
- pods/eviction
|
||||
verbs:
|
||||
- create
|
||||
{{- if .Values.rbac.extraRules.vpaEvictioner -}}
|
||||
{{ toYaml .Values.rbac.extraRules.vpaEvictioner | nindent 2 }}
|
||||
{{- end }}
|
||||
---
|
||||
apiVersion: rbac.authorization.k8s.io/v1
|
||||
kind: ClusterRole
|
||||
@@ -150,6 +162,9 @@ rules:
|
||||
- get
|
||||
- list
|
||||
- watch
|
||||
{{- if .Values.rbac.extraRules.vpaTargetReader -}}
|
||||
{{ toYaml .Values.rbac.extraRules.vpaTargetReader | nindent 2 }}
|
||||
{{- end }}
|
||||
---
|
||||
apiVersion: rbac.authorization.k8s.io/v1
|
||||
kind: ClusterRole
|
||||
@@ -164,4 +179,7 @@ rules:
|
||||
- get
|
||||
- list
|
||||
- watch
|
||||
{{- if .Values.rbac.extraRules.vpaStatusReader -}}
|
||||
{{ toYaml .Values.rbac.extraRules.vpaStatusReader | nindent 2 }}
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
|
||||
@@ -6,6 +6,7 @@ metadata:
|
||||
annotations:
|
||||
"helm.sh/hook": pre-install,pre-upgrade,post-install,post-upgrade
|
||||
"helm.sh/hook-delete-policy": before-hook-creation,hook-succeeded
|
||||
"helm.sh/hook-weight": "-110"
|
||||
labels:
|
||||
app.kubernetes.io/component: admission-certgen
|
||||
{{- include "vpa.labels" . | nindent 4 }}
|
||||
|
||||
@@ -6,6 +6,7 @@ metadata:
|
||||
annotations:
|
||||
"helm.sh/hook": pre-install,pre-upgrade,post-install,post-upgrade
|
||||
"helm.sh/hook-delete-policy": before-hook-creation,hook-succeeded
|
||||
"helm.sh/hook-weight": "-110"
|
||||
labels:
|
||||
app.kubernetes.io/component: admission-certgen
|
||||
{{- include "vpa.labels" . | nindent 4 }}
|
||||
|
||||
@@ -6,6 +6,7 @@ metadata:
|
||||
annotations:
|
||||
"helm.sh/hook": pre-install,pre-upgrade
|
||||
"helm.sh/hook-delete-policy": before-hook-creation,hook-succeeded
|
||||
"helm.sh/hook-weight": "-110"
|
||||
labels:
|
||||
app.kubernetes.io/component: certgen
|
||||
{{- include "vpa.labels" . | nindent 4 }}
|
||||
|
||||
@@ -6,6 +6,7 @@ metadata:
|
||||
annotations:
|
||||
"helm.sh/hook": pre-install,pre-upgrade,post-install,post-upgrade
|
||||
"helm.sh/hook-delete-policy": before-hook-creation,hook-succeeded
|
||||
"helm.sh/hook-weight": "-110"
|
||||
labels:
|
||||
app.kubernetes.io/component: admission-certgen
|
||||
{{- include "vpa.labels" . | nindent 4 }}
|
||||
|
||||
@@ -6,6 +6,7 @@ metadata:
|
||||
annotations:
|
||||
"helm.sh/hook": pre-install,pre-upgrade,post-install,post-upgrade
|
||||
"helm.sh/hook-delete-policy": before-hook-creation,hook-succeeded
|
||||
"helm.sh/hook-weight": "-110"
|
||||
labels:
|
||||
app.kubernetes.io/component: admission-certgen
|
||||
{{- include "vpa.labels" . | nindent 4 }}
|
||||
|
||||
@@ -6,6 +6,7 @@ metadata:
|
||||
annotations:
|
||||
"helm.sh/hook": pre-install,pre-upgrade,post-install,post-upgrade
|
||||
"helm.sh/hook-delete-policy": before-hook-creation,hook-succeeded
|
||||
"helm.sh/hook-weight": "-110"
|
||||
labels:
|
||||
app.kubernetes.io/component: admission-certgen
|
||||
{{- include "vpa.labels" . | nindent 4 }}
|
||||
|
||||
@@ -21,8 +21,8 @@ webhooks:
|
||||
failurePolicy: {{ .Values.admissionController.mutatingWebhookConfiguration.failurePolicy }}
|
||||
matchPolicy: Equivalent
|
||||
name: vpa.k8s.io
|
||||
namespaceSelector: {{ .Values.admissionController.mutatingWebhookConfiguration.namespaceSelector | toYaml }}
|
||||
objectSelector: {{ .Values.admissionController.mutatingWebhookConfiguration.objectSelector | toYaml }}
|
||||
namespaceSelector: {{ .Values.admissionController.mutatingWebhookConfiguration.namespaceSelector | toYaml | nindent 4 }}
|
||||
objectSelector: {{ .Values.admissionController.mutatingWebhookConfiguration.objectSelector | toYaml | nindent 4 }}
|
||||
reinvocationPolicy: Never
|
||||
rules:
|
||||
- apiGroups:
|
||||
|
||||
@@ -13,9 +13,23 @@ fullnameOverride: ""
|
||||
# podLabels -- Labels to add to all pods
|
||||
podLabels: {}
|
||||
rbac:
|
||||
# rbac.create -- If true, then rbac resources (clusterroles and clusterrolebindings) will be created for the selected components.
|
||||
# rbac.create -- If true, then rbac resources (ClusterRoles and ClusterRoleBindings) will be created for the selected components.
|
||||
# Temporary rbac resources will still be created, to ensure a functioning installation process
|
||||
create: true
|
||||
# rbac.extraRules -- Extra rbac rules for ClusterRoles
|
||||
extraRules:
|
||||
# rbac.extraRules.vpaActor -- Extra rbac rules for the vpa-actor ClusterRole
|
||||
vpaActor: []
|
||||
# rbac.extraRules.vpaCheckpointActor -- Extra rbac rules for the vpa-checkpoint-actor ClusterRole
|
||||
vpaCheckpointActor: []
|
||||
# rbac.extraRules.vpaEvictioner -- Extra rbac rules for the vpa-evictioner ClusterRole
|
||||
vpaEvictioner: []
|
||||
# rbac.extraRules.vpaMetricsReader -- Extra rbac rules for the vpa-metrics-reader ClusterRole
|
||||
vpaMetricsReader: []
|
||||
# rbac.extraRules.vpaTargetReader -- Extra rbac rules for the vpa-target-reader ClusterRole
|
||||
vpaTargetReader: []
|
||||
# rbac.extraRules.vpaStatusReader -- Extra rbac rules for the vpa-status-reader ClusterRole
|
||||
vpaStatusReader: []
|
||||
|
||||
serviceAccount:
|
||||
# serviceAccount.create -- Specifies whether a service account should be created for each component
|
||||
|
||||
@@ -19,9 +19,7 @@ metadata:
|
||||
{{- end }}
|
||||
spec:
|
||||
replicas: 1
|
||||
{{- if .Values.controller.revisionHistoryLimit }}
|
||||
revisionHistoryLimit: {{ .Values.controller.revisionHistoryLimit }}
|
||||
{{- end }}
|
||||
selector:
|
||||
matchLabels:
|
||||
app.kubernetes.io/name: {{ include "goldilocks.name" . }}
|
||||
|
||||
@@ -19,9 +19,7 @@ metadata:
|
||||
{{- end }}
|
||||
spec:
|
||||
replicas: {{ .Values.dashboard.replicaCount }}
|
||||
{{- if .Values.dashboard.revisionHistoryLimit }}
|
||||
revisionHistoryLimit: {{ .Values.dashboard.revisionHistoryLimit }}
|
||||
{{- end }}
|
||||
selector:
|
||||
matchLabels:
|
||||
app.kubernetes.io/name: {{ include "goldilocks.name" . }}
|
||||
|
||||
@@ -17,7 +17,7 @@ image:
|
||||
# image.repository -- Repository for the goldilocks image
|
||||
repository: us-docker.pkg.dev/fairwinds-ops/oss/goldilocks
|
||||
# image.tag -- The goldilocks image tag to use
|
||||
tag: v4.9.0
|
||||
tag: v4.10.0
|
||||
# image.pullPolicy -- imagePullPolicy - Highly recommended to leave this as `Always`
|
||||
pullPolicy: Always
|
||||
|
||||
@@ -61,13 +61,14 @@ controller:
|
||||
topologySpreadConstraints: []
|
||||
# controller.resources -- The resources block for the controller pods
|
||||
resources:
|
||||
limits:
|
||||
memory: 256Mi
|
||||
limits: {}
|
||||
requests:
|
||||
cpu: 25m
|
||||
memory: 256Mi
|
||||
# controller.podSecurityContext -- Defines the podSecurityContext for the controller pod
|
||||
podSecurityContext: {}
|
||||
podSecurityContext:
|
||||
seccompProfile:
|
||||
type: RuntimeDefault
|
||||
# controller.securityContext -- The container securityContext for the controller container
|
||||
securityContext:
|
||||
readOnlyRootFilesystem: true
|
||||
@@ -146,9 +147,6 @@ dashboard:
|
||||
annotations:
|
||||
kubernetes.io/ingress.class: nginx
|
||||
# kubernetes.io/tls-acme: "true"
|
||||
nginx.ingress.kubernetes.io/auth-signin: https://$host/oauth2/start?rd=$escaped_request_uri
|
||||
nginx.ingress.kubernetes.io/auth-url: https://$host/oauth2/auth
|
||||
nginx.ingress.kubernetes.io/backend-protocol: HTTP
|
||||
hosts:
|
||||
- host: goldilocks.ervine.cloud
|
||||
paths:
|
||||
@@ -163,12 +161,14 @@ dashboard:
|
||||
# dashboard.resources -- A resources block for the dashboard.
|
||||
resources:
|
||||
limits:
|
||||
memory: 256Mi
|
||||
memory: 512Mi
|
||||
requests:
|
||||
cpu: 25m
|
||||
memory: 256Mi
|
||||
# dashboard.podSecurityContext -- Defines the podSecurityContext for the dashboard pod
|
||||
podSecurityContext: {}
|
||||
podSecurityContext:
|
||||
seccompProfile:
|
||||
type: RuntimeDefault
|
||||
# dashboard.securityContext -- The container securityContext for the dashboard container
|
||||
securityContext:
|
||||
readOnlyRootFilesystem: true
|
||||
|
||||
Reference in New Issue
Block a user