hack/update-expected.sh

This commit is contained in:
Ciprian Hacman 2024-05-04 14:21:22 +03:00
parent be895b98d3
commit 3d74d1ffb9
18 changed files with 144 additions and 63 deletions

View File

@ -48,7 +48,7 @@ spec:
version: 9.99.0 version: 9.99.0
- id: k8s-1.11 - id: k8s-1.11
manifest: metrics-server.addons.k8s.io/k8s-1.11.yaml manifest: metrics-server.addons.k8s.io/k8s-1.11.yaml
manifestHash: 2a581e64f6b6655b7108a06a668e37dcf1140c426faa66a9e76369519ba54e11 manifestHash: 5a79936723087694804b3f2dd19917119822494bb92c2ea8f8554729bb293e9f
name: metrics-server.addons.k8s.io name: metrics-server.addons.k8s.io
needsPKI: true needsPKI: true
selector: selector:

View File

@ -46,14 +46,17 @@ metadata:
k8s-app: metrics-server k8s-app: metrics-server
name: system:metrics-server name: system:metrics-server
rules: rules:
- apiGroups:
- ""
resources:
- nodes/metrics
verbs:
- get
- apiGroups: - apiGroups:
- "" - ""
resources: resources:
- pods - pods
- nodes - nodes
- nodes/metrics
- namespaces
- configmaps
verbs: verbs:
- get - get
- list - list
@ -173,7 +176,7 @@ spec:
- --kubelet-preferred-address-types=Hostname - --kubelet-preferred-address-types=Hostname
- --cert-dir=/tmp - --cert-dir=/tmp
- --kubelet-insecure-tls - --kubelet-insecure-tls
image: registry.k8s.io/metrics-server/metrics-server:v0.6.4 image: registry.k8s.io/metrics-server/metrics-server:v0.7.1
imagePullPolicy: IfNotPresent imagePullPolicy: IfNotPresent
livenessProbe: livenessProbe:
failureThreshold: 3 failureThreshold: 3
@ -197,12 +200,18 @@ spec:
periodSeconds: 10 periodSeconds: 10
resources: resources:
requests: requests:
cpu: 50m cpu: 100m
memory: 128Mi memory: 200Mi
securityContext: securityContext:
allowPrivilegeEscalation: false
capabilities:
drop:
- ALL
readOnlyRootFilesystem: true readOnlyRootFilesystem: true
runAsNonRoot: true runAsNonRoot: true
runAsUser: 1000 runAsUser: 1000
seccompProfile:
type: RuntimeDefault
volumeMounts: volumeMounts:
- mountPath: /tmp - mountPath: /tmp
name: tmp-dir name: tmp-dir

View File

@ -55,7 +55,7 @@ spec:
version: 9.99.0 version: 9.99.0
- id: k8s-1.11 - id: k8s-1.11
manifest: metrics-server.addons.k8s.io/k8s-1.11.yaml manifest: metrics-server.addons.k8s.io/k8s-1.11.yaml
manifestHash: 2a581e64f6b6655b7108a06a668e37dcf1140c426faa66a9e76369519ba54e11 manifestHash: 5a79936723087694804b3f2dd19917119822494bb92c2ea8f8554729bb293e9f
name: metrics-server.addons.k8s.io name: metrics-server.addons.k8s.io
needsPKI: true needsPKI: true
selector: selector:

View File

@ -46,14 +46,17 @@ metadata:
k8s-app: metrics-server k8s-app: metrics-server
name: system:metrics-server name: system:metrics-server
rules: rules:
- apiGroups:
- ""
resources:
- nodes/metrics
verbs:
- get
- apiGroups: - apiGroups:
- "" - ""
resources: resources:
- pods - pods
- nodes - nodes
- nodes/metrics
- namespaces
- configmaps
verbs: verbs:
- get - get
- list - list
@ -173,7 +176,7 @@ spec:
- --kubelet-preferred-address-types=Hostname - --kubelet-preferred-address-types=Hostname
- --cert-dir=/tmp - --cert-dir=/tmp
- --kubelet-insecure-tls - --kubelet-insecure-tls
image: registry.k8s.io/metrics-server/metrics-server:v0.6.4 image: registry.k8s.io/metrics-server/metrics-server:v0.7.1
imagePullPolicy: IfNotPresent imagePullPolicy: IfNotPresent
livenessProbe: livenessProbe:
failureThreshold: 3 failureThreshold: 3
@ -197,12 +200,18 @@ spec:
periodSeconds: 10 periodSeconds: 10
resources: resources:
requests: requests:
cpu: 50m cpu: 100m
memory: 128Mi memory: 200Mi
securityContext: securityContext:
allowPrivilegeEscalation: false
capabilities:
drop:
- ALL
readOnlyRootFilesystem: true readOnlyRootFilesystem: true
runAsNonRoot: true runAsNonRoot: true
runAsUser: 1000 runAsUser: 1000
seccompProfile:
type: RuntimeDefault
volumeMounts: volumeMounts:
- mountPath: /tmp - mountPath: /tmp
name: tmp-dir name: tmp-dir

View File

@ -55,7 +55,7 @@ spec:
version: 9.99.0 version: 9.99.0
- id: k8s-1.11 - id: k8s-1.11
manifest: metrics-server.addons.k8s.io/k8s-1.11.yaml manifest: metrics-server.addons.k8s.io/k8s-1.11.yaml
manifestHash: 2a581e64f6b6655b7108a06a668e37dcf1140c426faa66a9e76369519ba54e11 manifestHash: 5a79936723087694804b3f2dd19917119822494bb92c2ea8f8554729bb293e9f
name: metrics-server.addons.k8s.io name: metrics-server.addons.k8s.io
needsPKI: true needsPKI: true
selector: selector:

View File

@ -46,14 +46,17 @@ metadata:
k8s-app: metrics-server k8s-app: metrics-server
name: system:metrics-server name: system:metrics-server
rules: rules:
- apiGroups:
- ""
resources:
- nodes/metrics
verbs:
- get
- apiGroups: - apiGroups:
- "" - ""
resources: resources:
- pods - pods
- nodes - nodes
- nodes/metrics
- namespaces
- configmaps
verbs: verbs:
- get - get
- list - list
@ -173,7 +176,7 @@ spec:
- --kubelet-preferred-address-types=Hostname - --kubelet-preferred-address-types=Hostname
- --cert-dir=/tmp - --cert-dir=/tmp
- --kubelet-insecure-tls - --kubelet-insecure-tls
image: registry.k8s.io/metrics-server/metrics-server:v0.6.4 image: registry.k8s.io/metrics-server/metrics-server:v0.7.1
imagePullPolicy: IfNotPresent imagePullPolicy: IfNotPresent
livenessProbe: livenessProbe:
failureThreshold: 3 failureThreshold: 3
@ -197,12 +200,18 @@ spec:
periodSeconds: 10 periodSeconds: 10
resources: resources:
requests: requests:
cpu: 50m cpu: 100m
memory: 128Mi memory: 200Mi
securityContext: securityContext:
allowPrivilegeEscalation: false
capabilities:
drop:
- ALL
readOnlyRootFilesystem: true readOnlyRootFilesystem: true
runAsNonRoot: true runAsNonRoot: true
runAsUser: 1000 runAsUser: 1000
seccompProfile:
type: RuntimeDefault
volumeMounts: volumeMounts:
- mountPath: /tmp - mountPath: /tmp
name: tmp-dir name: tmp-dir

View File

@ -56,7 +56,7 @@ spec:
version: 9.99.0 version: 9.99.0
- id: k8s-1.11 - id: k8s-1.11
manifest: metrics-server.addons.k8s.io/k8s-1.11.yaml manifest: metrics-server.addons.k8s.io/k8s-1.11.yaml
manifestHash: 2a581e64f6b6655b7108a06a668e37dcf1140c426faa66a9e76369519ba54e11 manifestHash: 5a79936723087694804b3f2dd19917119822494bb92c2ea8f8554729bb293e9f
name: metrics-server.addons.k8s.io name: metrics-server.addons.k8s.io
needsPKI: true needsPKI: true
selector: selector:

View File

@ -46,14 +46,17 @@ metadata:
k8s-app: metrics-server k8s-app: metrics-server
name: system:metrics-server name: system:metrics-server
rules: rules:
- apiGroups:
- ""
resources:
- nodes/metrics
verbs:
- get
- apiGroups: - apiGroups:
- "" - ""
resources: resources:
- pods - pods
- nodes - nodes
- nodes/metrics
- namespaces
- configmaps
verbs: verbs:
- get - get
- list - list
@ -173,7 +176,7 @@ spec:
- --kubelet-preferred-address-types=Hostname - --kubelet-preferred-address-types=Hostname
- --cert-dir=/tmp - --cert-dir=/tmp
- --kubelet-insecure-tls - --kubelet-insecure-tls
image: registry.k8s.io/metrics-server/metrics-server:v0.6.4 image: registry.k8s.io/metrics-server/metrics-server:v0.7.1
imagePullPolicy: IfNotPresent imagePullPolicy: IfNotPresent
livenessProbe: livenessProbe:
failureThreshold: 3 failureThreshold: 3
@ -197,12 +200,18 @@ spec:
periodSeconds: 10 periodSeconds: 10
resources: resources:
requests: requests:
cpu: 50m cpu: 100m
memory: 128Mi memory: 200Mi
securityContext: securityContext:
allowPrivilegeEscalation: false
capabilities:
drop:
- ALL
readOnlyRootFilesystem: true readOnlyRootFilesystem: true
runAsNonRoot: true runAsNonRoot: true
runAsUser: 1000 runAsUser: 1000
seccompProfile:
type: RuntimeDefault
volumeMounts: volumeMounts:
- mountPath: /tmp - mountPath: /tmp
name: tmp-dir name: tmp-dir

View File

@ -48,7 +48,7 @@ spec:
version: 9.99.0 version: 9.99.0
- id: k8s-1.11 - id: k8s-1.11
manifest: metrics-server.addons.k8s.io/k8s-1.11.yaml manifest: metrics-server.addons.k8s.io/k8s-1.11.yaml
manifestHash: 2a581e64f6b6655b7108a06a668e37dcf1140c426faa66a9e76369519ba54e11 manifestHash: 5a79936723087694804b3f2dd19917119822494bb92c2ea8f8554729bb293e9f
name: metrics-server.addons.k8s.io name: metrics-server.addons.k8s.io
needsPKI: true needsPKI: true
selector: selector:

View File

@ -46,14 +46,17 @@ metadata:
k8s-app: metrics-server k8s-app: metrics-server
name: system:metrics-server name: system:metrics-server
rules: rules:
- apiGroups:
- ""
resources:
- nodes/metrics
verbs:
- get
- apiGroups: - apiGroups:
- "" - ""
resources: resources:
- pods - pods
- nodes - nodes
- nodes/metrics
- namespaces
- configmaps
verbs: verbs:
- get - get
- list - list
@ -173,7 +176,7 @@ spec:
- --kubelet-preferred-address-types=Hostname - --kubelet-preferred-address-types=Hostname
- --cert-dir=/tmp - --cert-dir=/tmp
- --kubelet-insecure-tls - --kubelet-insecure-tls
image: registry.k8s.io/metrics-server/metrics-server:v0.6.4 image: registry.k8s.io/metrics-server/metrics-server:v0.7.1
imagePullPolicy: IfNotPresent imagePullPolicy: IfNotPresent
livenessProbe: livenessProbe:
failureThreshold: 3 failureThreshold: 3
@ -197,12 +200,18 @@ spec:
periodSeconds: 10 periodSeconds: 10
resources: resources:
requests: requests:
cpu: 50m cpu: 100m
memory: 128Mi memory: 200Mi
securityContext: securityContext:
allowPrivilegeEscalation: false
capabilities:
drop:
- ALL
readOnlyRootFilesystem: true readOnlyRootFilesystem: true
runAsNonRoot: true runAsNonRoot: true
runAsUser: 1000 runAsUser: 1000
seccompProfile:
type: RuntimeDefault
volumeMounts: volumeMounts:
- mountPath: /tmp - mountPath: /tmp
name: tmp-dir name: tmp-dir

View File

@ -48,7 +48,7 @@ spec:
version: 9.99.0 version: 9.99.0
- id: k8s-1.11 - id: k8s-1.11
manifest: metrics-server.addons.k8s.io/k8s-1.11.yaml manifest: metrics-server.addons.k8s.io/k8s-1.11.yaml
manifestHash: bc9afaa3bbf77cb6be3666cf2d048f21bed0003987ba01b75e5804703039aee9 manifestHash: f5a15bd72ed37b6a3e36df1bddd77c6440f6b067c3b97f3d216e24d2ed014826
name: metrics-server.addons.k8s.io name: metrics-server.addons.k8s.io
needsPKI: true needsPKI: true
selector: selector:

View File

@ -46,14 +46,17 @@ metadata:
k8s-app: metrics-server k8s-app: metrics-server
name: system:metrics-server name: system:metrics-server
rules: rules:
- apiGroups:
- ""
resources:
- nodes/metrics
verbs:
- get
- apiGroups: - apiGroups:
- "" - ""
resources: resources:
- pods - pods
- nodes - nodes
- nodes/metrics
- namespaces
- configmaps
verbs: verbs:
- get - get
- list - list
@ -173,7 +176,7 @@ spec:
- --kubelet-preferred-address-types=InternalIP - --kubelet-preferred-address-types=InternalIP
- --cert-dir=/tmp - --cert-dir=/tmp
- --kubelet-insecure-tls - --kubelet-insecure-tls
image: registry.k8s.io/metrics-server/metrics-server:v0.6.4 image: registry.k8s.io/metrics-server/metrics-server:v0.7.1
imagePullPolicy: IfNotPresent imagePullPolicy: IfNotPresent
livenessProbe: livenessProbe:
failureThreshold: 3 failureThreshold: 3
@ -197,12 +200,18 @@ spec:
periodSeconds: 10 periodSeconds: 10
resources: resources:
requests: requests:
cpu: 50m cpu: 100m
memory: 128Mi memory: 200Mi
securityContext: securityContext:
allowPrivilegeEscalation: false
capabilities:
drop:
- ALL
readOnlyRootFilesystem: true readOnlyRootFilesystem: true
runAsNonRoot: true runAsNonRoot: true
runAsUser: 1000 runAsUser: 1000
seccompProfile:
type: RuntimeDefault
volumeMounts: volumeMounts:
- mountPath: /tmp - mountPath: /tmp
name: tmp-dir name: tmp-dir

View File

@ -48,7 +48,7 @@ spec:
version: 9.99.0 version: 9.99.0
- id: k8s-1.11 - id: k8s-1.11
manifest: metrics-server.addons.k8s.io/k8s-1.11.yaml manifest: metrics-server.addons.k8s.io/k8s-1.11.yaml
manifestHash: 2a581e64f6b6655b7108a06a668e37dcf1140c426faa66a9e76369519ba54e11 manifestHash: 5a79936723087694804b3f2dd19917119822494bb92c2ea8f8554729bb293e9f
name: metrics-server.addons.k8s.io name: metrics-server.addons.k8s.io
needsPKI: true needsPKI: true
selector: selector:

View File

@ -46,14 +46,17 @@ metadata:
k8s-app: metrics-server k8s-app: metrics-server
name: system:metrics-server name: system:metrics-server
rules: rules:
- apiGroups:
- ""
resources:
- nodes/metrics
verbs:
- get
- apiGroups: - apiGroups:
- "" - ""
resources: resources:
- pods - pods
- nodes - nodes
- nodes/metrics
- namespaces
- configmaps
verbs: verbs:
- get - get
- list - list
@ -173,7 +176,7 @@ spec:
- --kubelet-preferred-address-types=Hostname - --kubelet-preferred-address-types=Hostname
- --cert-dir=/tmp - --cert-dir=/tmp
- --kubelet-insecure-tls - --kubelet-insecure-tls
image: registry.k8s.io/metrics-server/metrics-server:v0.6.4 image: registry.k8s.io/metrics-server/metrics-server:v0.7.1
imagePullPolicy: IfNotPresent imagePullPolicy: IfNotPresent
livenessProbe: livenessProbe:
failureThreshold: 3 failureThreshold: 3
@ -197,12 +200,18 @@ spec:
periodSeconds: 10 periodSeconds: 10
resources: resources:
requests: requests:
cpu: 50m cpu: 100m
memory: 128Mi memory: 200Mi
securityContext: securityContext:
allowPrivilegeEscalation: false
capabilities:
drop:
- ALL
readOnlyRootFilesystem: true readOnlyRootFilesystem: true
runAsNonRoot: true runAsNonRoot: true
runAsUser: 1000 runAsUser: 1000
seccompProfile:
type: RuntimeDefault
volumeMounts: volumeMounts:
- mountPath: /tmp - mountPath: /tmp
name: tmp-dir name: tmp-dir

View File

@ -48,7 +48,7 @@ spec:
version: 9.99.0 version: 9.99.0
- id: k8s-1.11 - id: k8s-1.11
manifest: metrics-server.addons.k8s.io/k8s-1.11.yaml manifest: metrics-server.addons.k8s.io/k8s-1.11.yaml
manifestHash: 2a581e64f6b6655b7108a06a668e37dcf1140c426faa66a9e76369519ba54e11 manifestHash: 5a79936723087694804b3f2dd19917119822494bb92c2ea8f8554729bb293e9f
name: metrics-server.addons.k8s.io name: metrics-server.addons.k8s.io
selector: selector:
k8s-app: metrics-server k8s-app: metrics-server

View File

@ -46,14 +46,17 @@ metadata:
k8s-app: metrics-server k8s-app: metrics-server
name: system:metrics-server name: system:metrics-server
rules: rules:
- apiGroups:
- ""
resources:
- nodes/metrics
verbs:
- get
- apiGroups: - apiGroups:
- "" - ""
resources: resources:
- pods - pods
- nodes - nodes
- nodes/metrics
- namespaces
- configmaps
verbs: verbs:
- get - get
- list - list
@ -173,7 +176,7 @@ spec:
- --kubelet-preferred-address-types=Hostname - --kubelet-preferred-address-types=Hostname
- --cert-dir=/tmp - --cert-dir=/tmp
- --kubelet-insecure-tls - --kubelet-insecure-tls
image: registry.k8s.io/metrics-server/metrics-server:v0.6.4 image: registry.k8s.io/metrics-server/metrics-server:v0.7.1
imagePullPolicy: IfNotPresent imagePullPolicy: IfNotPresent
livenessProbe: livenessProbe:
failureThreshold: 3 failureThreshold: 3
@ -197,12 +200,18 @@ spec:
periodSeconds: 10 periodSeconds: 10
resources: resources:
requests: requests:
cpu: 50m cpu: 100m
memory: 128Mi memory: 200Mi
securityContext: securityContext:
allowPrivilegeEscalation: false
capabilities:
drop:
- ALL
readOnlyRootFilesystem: true readOnlyRootFilesystem: true
runAsNonRoot: true runAsNonRoot: true
runAsUser: 1000 runAsUser: 1000
seccompProfile:
type: RuntimeDefault
volumeMounts: volumeMounts:
- mountPath: /tmp - mountPath: /tmp
name: tmp-dir name: tmp-dir

View File

@ -48,7 +48,7 @@ spec:
version: 9.99.0 version: 9.99.0
- id: k8s-1.11 - id: k8s-1.11
manifest: metrics-server.addons.k8s.io/k8s-1.11.yaml manifest: metrics-server.addons.k8s.io/k8s-1.11.yaml
manifestHash: c9046814cac007371319981f6521e43eefd7a9322d2a75247553b2bbb1dcfb9d manifestHash: 1a15a7fb5f16c2df150971afbcf554671713453759fb0aaec2040369138d75b3
name: metrics-server.addons.k8s.io name: metrics-server.addons.k8s.io
needsPKI: true needsPKI: true
selector: selector:

View File

@ -46,14 +46,17 @@ metadata:
k8s-app: metrics-server k8s-app: metrics-server
name: system:metrics-server name: system:metrics-server
rules: rules:
- apiGroups:
- ""
resources:
- nodes/metrics
verbs:
- get
- apiGroups: - apiGroups:
- "" - ""
resources: resources:
- pods - pods
- nodes - nodes
- nodes/metrics
- namespaces
- configmaps
verbs: verbs:
- get - get
- list - list
@ -173,7 +176,7 @@ spec:
- --kubelet-preferred-address-types=Hostname - --kubelet-preferred-address-types=Hostname
- --tls-cert-file=/srv/tls.crt - --tls-cert-file=/srv/tls.crt
- --tls-private-key-file=/srv/tls.key - --tls-private-key-file=/srv/tls.key
image: registry.k8s.io/metrics-server/metrics-server:v0.6.4 image: registry.k8s.io/metrics-server/metrics-server:v0.7.1
imagePullPolicy: IfNotPresent imagePullPolicy: IfNotPresent
livenessProbe: livenessProbe:
failureThreshold: 3 failureThreshold: 3
@ -197,12 +200,18 @@ spec:
periodSeconds: 10 periodSeconds: 10
resources: resources:
requests: requests:
cpu: 50m cpu: 100m
memory: 128Mi memory: 200Mi
securityContext: securityContext:
allowPrivilegeEscalation: false
capabilities:
drop:
- ALL
readOnlyRootFilesystem: true readOnlyRootFilesystem: true
runAsNonRoot: true runAsNonRoot: true
runAsUser: 1000 runAsUser: 1000
seccompProfile:
type: RuntimeDefault
volumeMounts: volumeMounts:
- mountPath: /srv - mountPath: /srv
name: certs name: certs