add permits-os to all charts that needed it

pull/1783/head
Luther Monson 2022-03-02 16:58:28 -07:00
parent 751113cebe
commit be5a59aeac
45 changed files with 286 additions and 34 deletions

View File

@ -0,0 +1,10 @@
--- charts-original/Chart.yaml
+++ charts/Chart.yaml
@@ -4,6 +4,7 @@
catalog.cattle.io/kube-version: '>= 1.18'
catalog.cattle.io/namespace: kube-system
catalog.cattle.io/os: linux
+ catalog.cattle.io/permits-os: linux,windows
catalog.cattle.io/rancher-version: '>= 2.6.1-0 <= 2.6.99-0'
catalog.cattle.io/release-name: harvester-cloud-provider
catalog.cattle.io/ui-component: harvester-cloud-provider

View File

@ -1,2 +1,2 @@
url: https://github.com/harvester/charts/releases/download/harvester-cloud-provider-0.1.8/harvester-cloud-provider-0.1.8.tgz url: https://github.com/harvester/charts/releases/download/harvester-cloud-provider-0.1.8/harvester-cloud-provider-0.1.8.tgz
version: 100.0.0 version: 100.0.1

View File

@ -0,0 +1,10 @@
--- charts-original/Chart.yaml
+++ charts/Chart.yaml
@@ -4,6 +4,7 @@
catalog.cattle.io/kube-version: '>= 1.18'
catalog.cattle.io/namespace: kube-system
catalog.cattle.io/os: linux
+ catalog.cattle.io/permits-os: linux,windows
catalog.cattle.io/rancher-version: '>= 2.6.1-0 <= 2.6.99-0'
catalog.cattle.io/release-name: harvester-csi-driver
catalog.cattle.io/ui-component: harvester-csi-driver

View File

@ -1,2 +1,2 @@
url: https://github.com/harvester/charts/releases/download/harvester-csi-driver-0.1.9/harvester-csi-driver-0.1.9.tgz url: https://github.com/harvester/charts/releases/download/harvester-csi-driver-0.1.9/harvester-csi-driver-0.1.9.tgz
version: 100.0.0 version: 100.0.1

View File

@ -1,6 +1,6 @@
--- charts-original/Chart.yaml --- charts-original/Chart.yaml
+++ charts/Chart.yaml +++ charts/Chart.yaml
@@ -1,3 +1,16 @@ @@ -1,3 +1,17 @@
+annotations: +annotations:
+ catalog.cattle.io/auto-install: longhorn-crd=match + catalog.cattle.io/auto-install: longhorn-crd=match
+ catalog.cattle.io/certified: rancher + catalog.cattle.io/certified: rancher
@ -8,6 +8,7 @@
+ catalog.cattle.io/kube-version: '>= v1.16.0-0, < v1.22.0-0' + catalog.cattle.io/kube-version: '>= v1.16.0-0, < v1.22.0-0'
+ catalog.cattle.io/namespace: longhorn-system + catalog.cattle.io/namespace: longhorn-system
+ catalog.cattle.io/os: linux + catalog.cattle.io/os: linux
+ catalog.cattle.io/permits-os: linux,windows
+ catalog.cattle.io/provides-gvr: longhorn.io/v1beta1 + catalog.cattle.io/provides-gvr: longhorn.io/v1beta1
+ catalog.cattle.io/rancher-version: '>= 2.6.0-0' + catalog.cattle.io/rancher-version: '>= 2.6.0-0'
+ catalog.cattle.io/release-name: longhorn + catalog.cattle.io/release-name: longhorn

View File

@ -1,7 +1,7 @@
url: https://github.com/longhorn/charts.git url: https://github.com/longhorn/charts.git
subdirectory: charts/longhorn subdirectory: charts/longhorn
commit: b7c0b7177f8bddcfc4b338c20ed46632973ba8e9 commit: b7c0b7177f8bddcfc4b338c20ed46632973ba8e9
version: 100.0.1 version: 100.0.2
additionalCharts: additionalCharts:
- workingDir: charts-crd - workingDir: charts-crd
crdOptions: crdOptions:

View File

@ -1,6 +1,6 @@
--- charts-original/Chart.yaml --- charts-original/Chart.yaml
+++ charts/Chart.yaml +++ charts/Chart.yaml
@@ -1,3 +1,16 @@ @@ -1,3 +1,17 @@
+annotations: +annotations:
+ catalog.cattle.io/auto-install: longhorn-crd=match + catalog.cattle.io/auto-install: longhorn-crd=match
+ catalog.cattle.io/certified: rancher + catalog.cattle.io/certified: rancher
@ -8,6 +8,7 @@
+ catalog.cattle.io/kube-version: '>=1.18.0-0' + catalog.cattle.io/kube-version: '>=1.18.0-0'
+ catalog.cattle.io/namespace: longhorn-system + catalog.cattle.io/namespace: longhorn-system
+ catalog.cattle.io/os: linux + catalog.cattle.io/os: linux
+ catalog.cattle.io/permits-os: linux,windows
+ catalog.cattle.io/provides-gvr: longhorn.io/v1beta1 + catalog.cattle.io/provides-gvr: longhorn.io/v1beta1
+ catalog.cattle.io/rancher-version: '>= 2.6.0-0' + catalog.cattle.io/rancher-version: '>= 2.6.0-0'
+ catalog.cattle.io/release-name: longhorn + catalog.cattle.io/release-name: longhorn

View File

@ -1,7 +1,7 @@
url: https://github.com/longhorn/charts.git url: https://github.com/longhorn/charts.git
subdirectory: charts/longhorn subdirectory: charts/longhorn
commit: d699089b1a62011c9cdeb6e8dacba203f30655a8 commit: d699089b1a62011c9cdeb6e8dacba203f30655a8
version: 100.1.1 version: 100.1.2
additionalCharts: additionalCharts:
- workingDir: charts-crd - workingDir: charts-crd
crdOptions: crdOptions:

View File

@ -3,6 +3,7 @@ annotations:
catalog.cattle.io/display-name: Alerting Drivers catalog.cattle.io/display-name: Alerting Drivers
catalog.cattle.io/kube-version: '>= 1.16.0-0' catalog.cattle.io/kube-version: '>= 1.16.0-0'
catalog.cattle.io/os: linux catalog.cattle.io/os: linux
catalog.cattle.io/permits-os: linux,windows
catalog.cattle.io/rancher-version: '>= 2.6.0-0 <=2.6.99-0' catalog.cattle.io/rancher-version: '>= 2.6.0-0 <=2.6.99-0'
catalog.cattle.io/release-name: rancher-alerting-drivers catalog.cattle.io/release-name: rancher-alerting-drivers
catalog.cattle.io/type: cluster-tool catalog.cattle.io/type: cluster-tool

View File

@ -1,2 +1,2 @@
url: local url: local
version: 100.0.1 version: 100.0.2

View File

@ -31,13 +31,17 @@
connectors: {} connectors: {}
# group_alerts_by can be one of # group_alerts_by can be one of
# ("name" | "description" | "instance" | "severity" | "status" | "summary" | "fingerprint" | "runbook_url") # ("name" | "description" | "instance" | "severity" | "status" | "summary" | "fingerprint" | "runbook_url")
@@ -44,3 +54,9 @@ @@ -44,3 +54,13 @@
fsGroup: 65534 fsGroup: 65534
# readOnlyRootFilesystem is a flag to enable readOnlyRootFilesystem for the Hazelcast security context # readOnlyRootFilesystem is a flag to enable readOnlyRootFilesystem for the Hazelcast security context
readOnlyRootFilesystem: true readOnlyRootFilesystem: true
+ +
+nodeSelector: {} +nodeSelector:
+ + kubernetes.io/os: linux
+tolerations: []
+ +
+tolerations:
+ - key: cattle.io/os
+ operator: "Equal"
+ value: "linux"
+ effect: NoSchedule
+affinity: {} +affinity: {}

View File

@ -56,8 +56,13 @@ resources: {}
# cpu: 100m # cpu: 100m
# memory: 128Mi # memory: 128Mi
nodeSelector: {} nodeSelector:
kubernetes.io/os: linux
tolerations: [] tolerations:
- key: cattle.io/os
operator: "Equal"
value: "linux"
effect: NoSchedule
affinity: {} affinity: {}

View File

@ -1,14 +1,16 @@
--- charts-original/Chart.yaml --- charts-original/Chart.yaml
+++ charts/Chart.yaml +++ charts/Chart.yaml
@@ -2,6 +2,7 @@ @@ -2,14 +2,17 @@
catalog.cattle.io/auto-install: rancher-backup-crd=match catalog.cattle.io/auto-install: rancher-backup-crd=match
catalog.cattle.io/certified: rancher catalog.cattle.io/certified: rancher
catalog.cattle.io/display-name: Rancher Backups catalog.cattle.io/display-name: Rancher Backups
+ catalog.cattle.io/kube-version: '>= 1.16.0-0' + catalog.cattle.io/kube-version: '>= 1.16.0-0'
catalog.cattle.io/namespace: cattle-resources-system catalog.cattle.io/namespace: cattle-resources-system
catalog.cattle.io/os: linux catalog.cattle.io/os: linux
+ catalog.cattle.io/permits-os: linux,windows
catalog.cattle.io/provides-gvr: resources.cattle.io.resourceset/v1 catalog.cattle.io/provides-gvr: resources.cattle.io.resourceset/v1
@@ -10,6 +11,7 @@ catalog.cattle.io/rancher-version: '>=2.6.0-0'
catalog.cattle.io/release-name: rancher-backup
catalog.cattle.io/scope: management catalog.cattle.io/scope: management
catalog.cattle.io/type: cluster-tool catalog.cattle.io/type: cluster-tool
catalog.cattle.io/ui-component: rancher-backup catalog.cattle.io/ui-component: rancher-backup
@ -16,7 +18,7 @@
apiVersion: v2 apiVersion: v2
appVersion: 2.1.1-rc1 appVersion: 2.1.1-rc1
description: Provides ability to back up and restore the Rancher application running description: Provides ability to back up and restore the Rancher application running
@@ -18,5 +20,6 @@ @@ -18,5 +21,6 @@
keywords: keywords:
- applications - applications
- infrastructure - infrastructure

View File

@ -5,6 +5,7 @@ annotations:
catalog.cattle.io/kube-version: '>=1.16.0-0' catalog.cattle.io/kube-version: '>=1.16.0-0'
catalog.cattle.io/namespace: cis-operator-system catalog.cattle.io/namespace: cis-operator-system
catalog.cattle.io/os: linux catalog.cattle.io/os: linux
catalog.cattle.io/permits-os: linux,windows
catalog.cattle.io/provides-gvr: cis.cattle.io.clusterscans/v1 catalog.cattle.io/provides-gvr: cis.cattle.io.clusterscans/v1
catalog.cattle.io/rancher-version: '>= 2.6.0-0' catalog.cattle.io/rancher-version: '>= 2.6.0-0'
catalog.cattle.io/release-name: rancher-cis-benchmark catalog.cattle.io/release-name: rancher-cis-benchmark

View File

@ -10,6 +10,14 @@ spec:
template: template:
spec: spec:
serviceAccountName: cis-operator-serviceaccount serviceAccountName: cis-operator-serviceaccount
{{- with .Values.tolerations }}
tolerations:
{{- toYaml . | nindent 8 }}
{{- end }}
{{- with .Values.nodeSelector }}
nodeSelector:
{{- toYaml . | nindent 8 }}
{{- end }}
restartPolicy: Never restartPolicy: Never
containers: containers:
- name: sa - name: sa
@ -17,4 +25,5 @@ spec:
imagePullPolicy: {{ .Values.global.imagePullPolicy }} imagePullPolicy: {{ .Values.global.imagePullPolicy }}
command: ["kubectl", "patch", "serviceaccount", "default", "-p", "{\"automountServiceAccountToken\": false}"] command: ["kubectl", "patch", "serviceaccount", "default", "-p", "{\"automountServiceAccountToken\": false}"]
args: ["-n", {{ template "cis.namespace" . }}] args: ["-n", {{ template "cis.namespace" . }}]
backoffLimit: 1 backoffLimit: 1

View File

@ -25,9 +25,14 @@ resources: {}
# cpu: 100m # cpu: 100m
# memory: 128Mi # memory: 128Mi
nodeSelector: {} nodeSelector:
kubernetes.io/os: linux
tolerations: [] tolerations:
- key: cattle.io/os
operator: "Equal"
value: "linux"
effect: NoSchedule
affinity: {} affinity: {}

View File

@ -1,11 +1,12 @@
--- charts-original/Chart.yaml --- charts-original/Chart.yaml
+++ charts/Chart.yaml +++ charts/Chart.yaml
@@ -4,12 +4,14 @@ @@ -4,12 +4,15 @@
catalog.cattle.io/kube-version: < 1.22.0 catalog.cattle.io/kube-version: < 1.22.0
catalog.cattle.io/namespace: cattle-externalip-system catalog.cattle.io/namespace: cattle-externalip-system
catalog.cattle.io/os: linux catalog.cattle.io/os: linux
- catalog.cattle.io/release-name: rancher-externalip-webhook - catalog.cattle.io/release-name: rancher-externalip-webhook
- catalog.cattle.io/ui-component: rancher-externalip-webhook - catalog.cattle.io/ui-component: rancher-externalip-webhook
+ catalog.cattle.io/permits-os: linux,windows
+ catalog.cattle.io/rancher-version: '>= 2.6.0-0 <=2.6.99-0' + catalog.cattle.io/rancher-version: '>= 2.6.0-0 <=2.6.99-0'
+ catalog.cattle.io/release-name: rancher-external-ip-webhook + catalog.cattle.io/release-name: rancher-external-ip-webhook
+ catalog.cattle.io/ui-component: rancher-external-ip-webhook + catalog.cattle.io/ui-component: rancher-external-ip-webhook
@ -18,7 +19,7 @@
home: https://github.com/rancher/externalip-webhook home: https://github.com/rancher/externalip-webhook
keywords: keywords:
- cve - cve
@@ -20,7 +22,7 @@ @@ -20,7 +23,7 @@
maintainers: maintainers:
- email: raul@rancher.com - email: raul@rancher.com
name: rawmind0 name: rawmind0

View File

@ -1,2 +1,2 @@
url: https://github.com/rancher/externalip-webhook/releases/download/v1.0.1/rancher-externalip-webhook-1.0.1.tgz url: https://github.com/rancher/externalip-webhook/releases/download/v1.0.1/rancher-externalip-webhook-1.0.1.tgz
version: 100.0.1 version: 100.0.2

View File

@ -1,12 +1,13 @@
--- charts-original/Chart.yaml --- charts-original/Chart.yaml
+++ charts/Chart.yaml +++ charts/Chart.yaml
@@ -1,10 +1,23 @@ @@ -1,10 +1,24 @@
+annotations: +annotations:
+ catalog.cattle.io/auto-install: rancher-gatekeeper-crd=match + catalog.cattle.io/auto-install: rancher-gatekeeper-crd=match
+ catalog.cattle.io/certified: rancher + catalog.cattle.io/certified: rancher
+ catalog.cattle.io/display-name: OPA Gatekeeper + catalog.cattle.io/display-name: OPA Gatekeeper
+ catalog.cattle.io/namespace: cattle-gatekeeper-system + catalog.cattle.io/namespace: cattle-gatekeeper-system
+ catalog.cattle.io/os: linux + catalog.cattle.io/os: linux
+ catalog.cattle.io/permits-os: linux,windows
+ catalog.cattle.io/provides-gvr: config.gatekeeper.sh.config/v1alpha1 + catalog.cattle.io/provides-gvr: config.gatekeeper.sh.config/v1alpha1
+ catalog.cattle.io/release-name: rancher-gatekeeper + catalog.cattle.io/release-name: rancher-gatekeeper
+ catalog.cattle.io/type: cluster-tool + catalog.cattle.io/type: cluster-tool

View File

@ -16,6 +16,14 @@ spec:
app: {{ .Chart.Name }} app: {{ .Chart.Name }}
spec: spec:
serviceAccountName: {{ .Chart.Name }}-manager serviceAccountName: {{ .Chart.Name }}-manager
{{- with .Values.tolerations }}
tolerations:
{{- toYaml . | nindent 8 }}
{{- end }}
{{- with .Values.nodeSelector }}
nodeSelector:
{{- toYaml . | nindent 8 }}
{{- end }}
securityContext: securityContext:
runAsNonRoot: true runAsNonRoot: true
runAsUser: 1000 runAsUser: 1000
@ -56,6 +64,14 @@ spec:
app: {{ .Chart.Name }} app: {{ .Chart.Name }}
spec: spec:
serviceAccountName: {{ .Chart.Name }}-manager serviceAccountName: {{ .Chart.Name }}-manager
{{- with .Values.tolerations }}
tolerations:
{{- toYaml . | nindent 8 }}
{{- end }}
{{- with .Values.nodeSelector }}
nodeSelector:
{{- toYaml . | nindent 8 }}
{{- end }}
securityContext: securityContext:
runAsNonRoot: true runAsNonRoot: true
runAsUser: 1000 runAsUser: 1000

View File

@ -9,3 +9,12 @@ global:
image: image:
repository: rancher/kubectl repository: rancher/kubectl
tag: v1.20.2 tag: v1.20.2
nodeSelector:
kubernetes.io/os: linux
tolerations:
- key: cattle.io/os
operator: "Equal"
value: "linux"
effect: NoSchedule

View File

@ -1,2 +1,2 @@
url: https://github.com/rancher/gke-operator/releases/download/v1.1.3-rc1/rancher-gke-operator-crd-1.1.3-rc1.tgz url: https://github.com/rancher/gke-operator/releases/download/v1.1.3-rc2/rancher-gke-operator-crd-1.1.3-rc2.tgz
version: 100.0.2 version: 100.0.2

View File

@ -1,2 +1,2 @@
url: https://github.com/rancher/gke-operator/releases/download/v1.1.3-rc1/rancher-gke-operator-1.1.3-rc1.tgz url: https://github.com/rancher/gke-operator/releases/download/v1.1.3-rc2/rancher-gke-operator-1.1.3-rc2.tgz
version: 100.0.2 version: 100.0.2

View File

@ -4,6 +4,7 @@ annotations:
catalog.cattle.io/kube-version: 1.19 - 1.22 catalog.cattle.io/kube-version: 1.19 - 1.22
catalog.cattle.io/namespace: istio-system catalog.cattle.io/namespace: istio-system
catalog.cattle.io/os: linux catalog.cattle.io/os: linux
catalog.cattle.io/permits-os: linux,windows
catalog.cattle.io/provides-gvr: networking.istio.io.virtualservice/v1beta1 catalog.cattle.io/provides-gvr: networking.istio.io.virtualservice/v1beta1
catalog.cattle.io/rancher-version: '>= 2.6.0-0 <= 2.6.99-0' catalog.cattle.io/rancher-version: '>= 2.6.0-0 <= 2.6.99-0'
catalog.cattle.io/release-name: rancher-istio catalog.cattle.io/release-name: rancher-istio

View File

@ -52,6 +52,14 @@ spec:
name: istio-installer-overlay name: istio-installer-overlay
{{- end }} {{- end }}
serviceAccountName: istio-installer serviceAccountName: istio-installer
{{- with .Values.tolerations }}
tolerations:
{{- toYaml . | nindent 8 }}
{{- end }}
{{- with .Values.nodeSelector }}
nodeSelector:
{{- toYaml . | nindent 8 }}
{{- end }}
securityContext: securityContext:
runAsUser: 499 runAsUser: 499
runAsGroup: 487 runAsGroup: 487

View File

@ -39,6 +39,14 @@ spec:
name: istio-installer-overlay name: istio-installer-overlay
{{ end }} {{ end }}
serviceAccountName: istio-installer serviceAccountName: istio-installer
{{- with .Values.tolerations }}
tolerations:
{{- toYaml . | nindent 8 }}
{{- end }}
{{- with .Values.nodeSelector }}
nodeSelector:
{{- toYaml . | nindent 8 }}
{{- end }}
securityContext: securityContext:
runAsUser: 101 runAsUser: 101
runAsGroup: 101 runAsGroup: 101

View File

@ -88,3 +88,12 @@ kiali:
tracing: tracing:
enabled: false enabled: false
contextPath: "/jaeger" contextPath: "/jaeger"
nodeSelector:
kubernetes.io/os: linux
tolerations:
- key: cattle.io/os
operator: "Equal"
value: "linux"
effect: NoSchedule

View File

@ -74,6 +74,10 @@ spec:
runAsUser: 1000 runAsUser: 1000
serviceAccountName: {{ include "tracing.fullname" . }} serviceAccountName: {{ include "tracing.fullname" . }}
{{- end }} {{- end }}
{{- with .Values.tolerations }}
tolerations:
{{- toYaml . | nindent 8 }}
{{- end }}
{{- if eq .Values.jaeger.spanStorageType "badger" }} {{- if eq .Values.jaeger.spanStorageType "badger" }}
volumes: volumes:
- name: data - name: data

View File

@ -1,6 +1,12 @@
provider: jaeger provider: jaeger
contextPath: "" contextPath: ""
nodeSelector: {} nodeSelector:
kubernetes.io/os: linux
tolerations:
- key: cattle.io/os
operator: "Equal"
value: "linux"
effect: NoSchedule
podAntiAffinityLabelSelector: [] podAntiAffinityLabelSelector: []
podAntiAffinityTermLabelSelector: [] podAntiAffinityTermLabelSelector: []
nameOverride: "" nameOverride: ""
@ -16,7 +22,8 @@ global:
amd64: 2 amd64: 2
s390x: 2 s390x: 2
ppc64le: 2 ppc64le: 2
defaultNodeSelector: {} defaultNodeSelector:
kubernetes.io/os: linux
rbac: rbac:
pspEnabled: false pspEnabled: false

View File

@ -1,12 +1,14 @@
--- charts-original/Chart.yaml --- charts-original/Chart.yaml
+++ charts/Chart.yaml +++ charts/Chart.yaml
@@ -1,5 +1,23 @@ @@ -1,5 +1,25 @@
+annotations: +annotations:
+ catalog.cattle.io/auto-install: rancher-logging-crd=match + catalog.cattle.io/auto-install: rancher-logging-crd=match
+ catalog.cattle.io/certified: rancher + catalog.cattle.io/certified: rancher
+ catalog.cattle.io/deploys-on-os: windows
+ catalog.cattle.io/display-name: Logging + catalog.cattle.io/display-name: Logging
+ catalog.cattle.io/kube-version: '>=1.16.0-0' + catalog.cattle.io/kube-version: '>=1.16.0-0'
+ catalog.cattle.io/namespace: cattle-logging-system + catalog.cattle.io/namespace: cattle-logging-system
+ catalog.cattle.io/permits-os: linux,windows
+ catalog.cattle.io/provides-gvr: logging.banzaicloud.io.clusterflow/v1beta1 + catalog.cattle.io/provides-gvr: logging.banzaicloud.io.clusterflow/v1beta1
+ catalog.cattle.io/rancher-version: '> 2.6.0-0' + catalog.cattle.io/rancher-version: '> 2.6.0-0'
+ catalog.cattle.io/release-name: rancher-logging + catalog.cattle.io/release-name: rancher-logging

View File

@ -1,5 +1,5 @@
url: https://kubernetes-charts.banzaicloud.com/charts/logging-operator-3.15.0.tgz url: https://kubernetes-charts.banzaicloud.com/charts/logging-operator-3.15.0.tgz
version: 100.0.1 version: 100.0.2
additionalCharts: additionalCharts:
- workingDir: charts-crd - workingDir: charts-crd
crdOptions: crdOptions:

View File

@ -1,14 +1,16 @@
--- charts-original/Chart.yaml --- charts-original/Chart.yaml
+++ charts/Chart.yaml +++ charts/Chart.yaml
@@ -5,6 +5,19 @@ @@ -5,6 +5,21 @@
- name: Upstream Project - name: Upstream Project
url: https://github.com/prometheus-operator/kube-prometheus url: https://github.com/prometheus-operator/kube-prometheus
artifacthub.io/operator: "true" artifacthub.io/operator: "true"
+ catalog.cattle.io/auto-install: rancher-monitoring-crd=match + catalog.cattle.io/auto-install: rancher-monitoring-crd=match
+ catalog.cattle.io/certified: rancher + catalog.cattle.io/certified: rancher
+ catalog.cattle.io/deploys-on-os: windows
+ catalog.cattle.io/display-name: Monitoring + catalog.cattle.io/display-name: Monitoring
+ catalog.cattle.io/kube-version: '>=1.16.0-0' + catalog.cattle.io/kube-version: '>=1.16.0-0'
+ catalog.cattle.io/namespace: cattle-monitoring-system + catalog.cattle.io/namespace: cattle-monitoring-system
+ catalog.cattle.io/permits-os: linux,windows
+ catalog.cattle.io/provides-gvr: monitoring.coreos.com.prometheus/v1 + catalog.cattle.io/provides-gvr: monitoring.coreos.com.prometheus/v1
+ catalog.cattle.io/rancher-version: '>= 2.6.0-0 <=2.6.99-0' + catalog.cattle.io/rancher-version: '>= 2.6.0-0 <=2.6.99-0'
+ catalog.cattle.io/release-name: rancher-monitoring + catalog.cattle.io/release-name: rancher-monitoring

View File

@ -1,6 +1,6 @@
--- charts-original/Chart.yaml --- charts-original/Chart.yaml
+++ charts/Chart.yaml +++ charts/Chart.yaml
@@ -1,13 +1,28 @@ @@ -1,13 +1,29 @@
+annotations: +annotations:
+ catalog.cattle.io/auto-install: sriov-crd=match + catalog.cattle.io/auto-install: sriov-crd=match
+ catalog.cattle.io/certified: rancher + catalog.cattle.io/certified: rancher
@ -8,6 +8,7 @@
+ catalog.cattle.io/kube-version: '>= 1.16.0-0' + catalog.cattle.io/kube-version: '>= 1.16.0-0'
+ catalog.cattle.io/namespace: cattle-sriov-system + catalog.cattle.io/namespace: cattle-sriov-system
+ catalog.cattle.io/os: linux + catalog.cattle.io/os: linux
+ catalog.cattle.io/permits-os: linux,windows
+ catalog.cattle.io/rancher-version: '>= 2.6.0-0' + catalog.cattle.io/rancher-version: '>= 2.6.0-0'
+ catalog.cattle.io/release-name: sriov + catalog.cattle.io/release-name: sriov
+ catalog.cattle.io/upstream-version: 0.1.0 + catalog.cattle.io/upstream-version: 0.1.0

View File

@ -1,7 +1,7 @@
url: https://github.com/k8snetworkplumbingwg/sriov-network-operator.git url: https://github.com/k8snetworkplumbingwg/sriov-network-operator.git
subdirectory: deployment/sriov-network-operator subdirectory: deployment/sriov-network-operator
commit: c5c943cc214f4113b6f6be8d7c48ac837aa1669c commit: c5c943cc214f4113b6f6be8d7c48ac837aa1669c
version: 100.0.1 version: 100.0.2
additionalCharts: additionalCharts:
- workingDir: charts-crd - workingDir: charts-crd
crdOptions: crdOptions:

View File

@ -9,3 +9,4 @@ annotations:
catalog.cattle.io/namespace: cattle-sriov-system catalog.cattle.io/namespace: cattle-sriov-system
catalog.cattle.io/certified: rancher catalog.cattle.io/certified: rancher
catalog.cattle.io/hidden: "true" catalog.cattle.io/hidden: "true"
catalog.cattle.io/permits-os: linux,windows

View File

@ -0,0 +1,10 @@
--- charts-original/Chart.yaml
+++ charts/Chart.yaml
@@ -3,6 +3,7 @@
catalog.cattle.io/display-name: vSphere CPI
catalog.cattle.io/namespace: kube-system
catalog.cattle.io/os: linux
+ catalog.cattle.io/permits-os: linux,windows
catalog.cattle.io/rancher-version: '>= 2.6.0-0 <= 2.6.99-0'
catalog.cattle.io/release-name: vsphere-cpi
apiVersion: v1

View File

@ -0,0 +1,14 @@
--- charts-original/templates/daemonset.yaml
+++ charts/templates/daemonset.yaml
@@ -44,6 +44,11 @@
operator: In
values:
- "true"
+ - matchExpressions:
+ - key: kubernetes.io/os
+ operator: NotIn
+ values:
+ - "windows"
{{- end }}
{{- if .Values.cloudControllerManager.tolerations }}
tolerations:

View File

@ -0,0 +1,10 @@
--- charts-original/Chart.yaml
+++ charts/Chart.yaml
@@ -3,6 +3,7 @@
catalog.cattle.io/display-name: vSphere CSI
catalog.cattle.io/namespace: kube-system
catalog.cattle.io/os: linux
+ catalog.cattle.io/permits-os: linux,windows
catalog.cattle.io/rancher-version: '>= 2.6.0-0 <= 2.6.99-0'
catalog.cattle.io/release-name: vsphere-csi
apiVersion: v1

View File

@ -0,0 +1,15 @@
--- charts-original/templates/controller/deployment.yaml
+++ charts/templates/controller/deployment.yaml
@@ -38,6 +38,12 @@
operator: In
values:
- "true"
+ - matchExpressions:
+ # Rancher node selector label
+ - key: kubernetes.io/os
+ operator: NotIn
+ values:
+ - "windows"
{{- end }}
{{- if .Values.csiController.tolerations }}
tolerations:

View File

@ -0,0 +1,47 @@
--- charts-original/templates/node/daemonset.yaml
+++ charts/templates/node/daemonset.yaml
@@ -8,6 +8,44 @@
selector:
matchLabels:
app: vsphere-csi-node
+ {{- if .Values.csiNode.nodeSelector }}
+ nodeSelector:
+ {{- with .Values.csiNode.nodeSelector }}
+ {{- toYaml . | nindent 6 }}
+ {{- end }}
+ {{- else }}
+ affinity:
+ nodeAffinity:
+ requiredDuringSchedulingIgnoredDuringExecution:
+ nodeSelectorTerms:
+ - matchExpressions:
+ # Rancher node selector label
+ - key: kubernetes.io/os
+ operator: NotIn
+ values:
+ - "windows"
+ {{- end }}
+ {{- if .Values.csiNode.tolerations }}
+ tolerations:
+ {{- with .Values.csiNode.tolerations }}
+ {{- toYaml . | nindent 6 }}
+ {{- end }}
+ {{- else }}
+ tolerations:
+ - key: node-role.kubernetes.io/master
+ operator: Exists
+ effect: NoSchedule
+ # Rancher specific change: These tolerations are added to account for RKE1 and RKE2 taints
+ - key: node-role.kubernetes.io/controlplane
+ effect: NoSchedule
+ value: "true"
+ - key: node-role.kubernetes.io/control-plane
+ effect: NoSchedule
+ value: "true"
+ - key: node-role.kubernetes.io/etcd
+ effect: NoSchedule
+ value: "true"
+ {{- end }}
updateStrategy:
type: "RollingUpdate"
rollingUpdate:

View File

@ -0,0 +1,25 @@
--- charts-original/values.yaml
+++ charts/values.yaml
@@ -41,6 +41,9 @@
csiProvisioner:
repository: rancher/mirrored-sig-storage-csi-provisioner
tag: v2.2.0
+ ## Node labels for pod assignment
+ ## Ref: https://kubernetes.io/docs/user-guide/node-selection/
+ ##
nodeSelector: {}
# Uncomment below toleration if you need an aggressive pod eviction in case when
# node becomes not-ready or unreachable. Default is 300 seconds if not specified.
@@ -71,6 +74,12 @@
enabled: false
csiNode:
+ ## Node labels for pod assignment
+ ## Ref: https://kubernetes.io/docs/user-guide/node-selection/
+ ##
+ nodeSelector: {}
+ ## List of node taints to tolerate (requires Kubernetes >= 1.6)
+ tolerations: []
prefixPath: ""
image:
repository: rancher/mirrored-cloud-provider-vsphere-csi-release-driver

View File

@ -0,0 +1,10 @@
--- charts-original/Chart.yaml
+++ charts/Chart.yaml
@@ -3,6 +3,7 @@
catalog.cattle.io/hidden: "true"
catalog.cattle.io/namespace: cattle-system
catalog.cattle.io/os: linux
+ catalog.cattle.io/permits-os: linux,windows
catalog.cattle.io/release-name: rancher-webhook
apiVersion: v2
appVersion: 0.2.5-rc1

View File

@ -6,6 +6,7 @@ annotations:
catalog.cattle.io/kube-version: '>= 1.21.0-0' catalog.cattle.io/kube-version: '>= 1.21.0-0'
catalog.cattle.io/namespace: cattle-windows-gmsa-system catalog.cattle.io/namespace: cattle-windows-gmsa-system
catalog.cattle.io/os: windows catalog.cattle.io/os: windows
catalog.cattle.io/permits-os: linux,windows
catalog.cattle.io/provides-gvr: windows.k8s.io.gmsacredentialspecs/v1 catalog.cattle.io/provides-gvr: windows.k8s.io.gmsacredentialspecs/v1
catalog.cattle.io/rancher-version: '>= 2.6.4-0 < 2.6.99-0' catalog.cattle.io/rancher-version: '>= 2.6.4-0 < 2.6.99-0'
catalog.cattle.io/release-name: rancher-windows-gmsa catalog.cattle.io/release-name: rancher-windows-gmsa

View File

@ -1,4 +1,4 @@
url: https://github.com/rancher/wins.git url: https://github.com/rancher/wins.git
subdirectory: charts/rancher-wins-upgrader subdirectory: charts/rancher-wins-upgrader
commit: 036e27d9a3254471868e29e165710f5a6ba24546 commit: f9cd77eb9e9262a94bb76635b2ee03334770695a
version: 100.0.0 version: 100.0.1

View File

@ -1,12 +1,13 @@
--- charts-original/Chart.yaml --- charts-original/Chart.yaml
+++ charts/Chart.yaml +++ charts/Chart.yaml
@@ -1,11 +1,17 @@ @@ -1,11 +1,18 @@
+annotations: +annotations:
+ catalog.cattle.io/certified: rancher + catalog.cattle.io/certified: rancher
+ catalog.cattle.io/hidden: "true" + catalog.cattle.io/hidden: "true"
+ catalog.cattle.io/kube-version: '>=1.18.0-0' + catalog.cattle.io/kube-version: '>=1.18.0-0'
+ catalog.cattle.io/namespace: cattle-system + catalog.cattle.io/namespace: cattle-system
+ catalog.cattle.io/os: linux + catalog.cattle.io/os: linux
+ catalog.cattle.io/permits-os: linux,windows
+ catalog.cattle.io/rancher-version: '>= 2.6.3-alpha' + catalog.cattle.io/rancher-version: '>= 2.6.3-alpha'
+ catalog.cattle.io/release-name: system-upgrade-controller + catalog.cattle.io/release-name: system-upgrade-controller
apiVersion: v1 apiVersion: v1