mirror of https://git.rancher.io/charts
bump cloud-provider to 1.13
parent
93b5e51a36
commit
7502119318
Binary file not shown.
|
@ -0,0 +1,23 @@
|
||||||
|
# Patterns to ignore when building packages.
|
||||||
|
# This supports shell glob matching, relative path matching, and
|
||||||
|
# negation (prefixed with !). Only one pattern per line.
|
||||||
|
.DS_Store
|
||||||
|
# Common VCS dirs
|
||||||
|
.git/
|
||||||
|
.gitignore
|
||||||
|
.bzr/
|
||||||
|
.bzrignore
|
||||||
|
.hg/
|
||||||
|
.hgignore
|
||||||
|
.svn/
|
||||||
|
# Common backup files
|
||||||
|
*.swp
|
||||||
|
*.bak
|
||||||
|
*.tmp
|
||||||
|
*.orig
|
||||||
|
*~
|
||||||
|
# Various IDEs
|
||||||
|
.project
|
||||||
|
.idea/
|
||||||
|
*.tmproj
|
||||||
|
.vscode/
|
|
@ -0,0 +1,21 @@
|
||||||
|
annotations:
|
||||||
|
catalog.cattle.io/certified: rancher
|
||||||
|
catalog.cattle.io/display-name: Harvester Cloud Provider
|
||||||
|
catalog.cattle.io/kube-version: '>= 1.18.0-0 < 1.25.0-0'
|
||||||
|
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.7.0-0'
|
||||||
|
catalog.cattle.io/release-name: harvester-cloud-provider
|
||||||
|
catalog.cattle.io/ui-component: harvester-cloud-provider
|
||||||
|
apiVersion: v2
|
||||||
|
appVersion: v0.1.4
|
||||||
|
description: A Helm chart for Harvester Cloud Provider
|
||||||
|
keywords:
|
||||||
|
- infrastructure
|
||||||
|
- harvester
|
||||||
|
maintainers:
|
||||||
|
- name: harvester
|
||||||
|
name: harvester-cloud-provider
|
||||||
|
type: application
|
||||||
|
version: 100.0.3+up0.1.13
|
|
@ -0,0 +1,3 @@
|
||||||
|
replicasCount: 1
|
||||||
|
# It's an existent but invalid kubeconfig, just for helm installation testing in kind
|
||||||
|
cloudConfigPath: "/etc/kubernetes/admin.conf"
|
|
@ -0,0 +1,11 @@
|
||||||
|
categories:
|
||||||
|
- infrastructure
|
||||||
|
- harvester
|
||||||
|
namespace: kube-system
|
||||||
|
questions:
|
||||||
|
- variable: cloudConfigPath
|
||||||
|
label: Cloud config file path
|
||||||
|
description: "Specify the path of the cloud config."
|
||||||
|
group: "Default"
|
||||||
|
type: string
|
||||||
|
default: "/etc/kubernetes/cloud-config"
|
|
@ -0,0 +1,69 @@
|
||||||
|
{{/* vim: set filetype=mustache: */}}
|
||||||
|
{{/*
|
||||||
|
Expand the name of the chart.
|
||||||
|
*/}}
|
||||||
|
{{- define "harvester-cloud-provider.name" -}}
|
||||||
|
{{- default .Chart.Name .Values.nameOverride | trunc 63 | trimSuffix "-" }}
|
||||||
|
{{- end }}
|
||||||
|
|
||||||
|
{{/*
|
||||||
|
Create a default fully qualified app name.
|
||||||
|
We truncate at 63 chars because some Kubernetes name fields are limited to this (by the DNS naming spec).
|
||||||
|
If release name contains chart name it will be used as a full name.
|
||||||
|
*/}}
|
||||||
|
{{- define "harvester-cloud-provider.fullname" -}}
|
||||||
|
{{- if .Values.fullnameOverride }}
|
||||||
|
{{- .Values.fullnameOverride | trunc 63 | trimSuffix "-" }}
|
||||||
|
{{- else }}
|
||||||
|
{{- $name := default .Chart.Name .Values.nameOverride }}
|
||||||
|
{{- if contains $name .Release.Name }}
|
||||||
|
{{- .Release.Name | trunc 63 | trimSuffix "-" }}
|
||||||
|
{{- else }}
|
||||||
|
{{- printf "%s-%s" .Release.Name $name | trunc 63 | trimSuffix "-" }}
|
||||||
|
{{- end }}
|
||||||
|
{{- end }}
|
||||||
|
{{- end }}
|
||||||
|
|
||||||
|
{{/*
|
||||||
|
Create chart name and version as used by the chart label.
|
||||||
|
*/}}
|
||||||
|
{{- define "harvester-cloud-provider.chart" -}}
|
||||||
|
{{- printf "%s-%s" .Chart.Name .Chart.Version | replace "+" "_" | trunc 63 | trimSuffix "-" }}
|
||||||
|
{{- end }}
|
||||||
|
|
||||||
|
{{/*
|
||||||
|
Common labels
|
||||||
|
*/}}
|
||||||
|
{{- define "harvester-cloud-provider.labels" -}}
|
||||||
|
helm.sh/chart: {{ include "harvester-cloud-provider.chart" . }}
|
||||||
|
{{ include "harvester-cloud-provider.selectorLabels" . }}
|
||||||
|
{{- if .Chart.AppVersion }}
|
||||||
|
app.kubernetes.io/version: {{ .Chart.AppVersion | quote }}
|
||||||
|
{{- end }}
|
||||||
|
{{- end }}
|
||||||
|
|
||||||
|
{{/*
|
||||||
|
Selector labels
|
||||||
|
*/}}
|
||||||
|
{{- define "harvester-cloud-provider.selectorLabels" -}}
|
||||||
|
app.kubernetes.io/name: {{ include "harvester-cloud-provider.name" . }}
|
||||||
|
app.kubernetes.io/instance: {{ .Release.Name }}
|
||||||
|
{{- end }}
|
||||||
|
|
||||||
|
{{/*
|
||||||
|
Create the name of the service account to use
|
||||||
|
*/}}
|
||||||
|
{{- define "harvester-cloud-provider.serviceAccountName" -}}
|
||||||
|
{{- default (include "harvester-cloud-provider.fullname" .) .Values.serviceAccount.name }}
|
||||||
|
{{- end }}
|
||||||
|
|
||||||
|
{{/*
|
||||||
|
Global system default registry
|
||||||
|
*/}}
|
||||||
|
{{- define "system_default_registry" -}}
|
||||||
|
{{- if .Values.global.cattle.systemDefaultRegistry -}}
|
||||||
|
{{- printf "%s/" .Values.global.cattle.systemDefaultRegistry -}}
|
||||||
|
{{- else -}}
|
||||||
|
{{- "" -}}
|
||||||
|
{{- end -}}
|
||||||
|
{{- end -}}
|
|
@ -0,0 +1,53 @@
|
||||||
|
---
|
||||||
|
apiVersion: apps/v1
|
||||||
|
kind: Deployment
|
||||||
|
metadata:
|
||||||
|
namespace: {{ .Release.Namespace }}
|
||||||
|
labels:
|
||||||
|
{{- include "harvester-cloud-provider.labels" . | nindent 4 }}
|
||||||
|
name: {{ include "harvester-cloud-provider.name" . }}
|
||||||
|
spec:
|
||||||
|
replicas: {{ .Values.replicasCount}}
|
||||||
|
selector:
|
||||||
|
matchLabels:
|
||||||
|
{{- include "harvester-cloud-provider.selectorLabels" . | nindent 6 }}
|
||||||
|
template:
|
||||||
|
metadata:
|
||||||
|
labels:
|
||||||
|
{{- include "harvester-cloud-provider.selectorLabels" . | nindent 8 }}
|
||||||
|
spec:
|
||||||
|
serviceAccountName: {{ include "harvester-cloud-provider.name" . }}
|
||||||
|
hostNetwork: true
|
||||||
|
containers:
|
||||||
|
- name: {{ include "harvester-cloud-provider.name" . }}
|
||||||
|
image: {{ template "system_default_registry" . }}{{ .Values.image.repository }}:{{ .Values.image.tag }}
|
||||||
|
imagePullPolicy: {{ .Values.image.pullPolicy }}
|
||||||
|
args:
|
||||||
|
- --cloud-config=/etc/kubernetes/cloud-config
|
||||||
|
{{- if ne .Values.global.cattle.clusterName "" }}
|
||||||
|
- --cluster-name={{ .Values.global.cattle.clusterName }}
|
||||||
|
{{- end }}
|
||||||
|
command:
|
||||||
|
- harvester-cloud-provider
|
||||||
|
resources:
|
||||||
|
{{- toYaml .Values.resources | nindent 12 }}
|
||||||
|
volumeMounts:
|
||||||
|
- mountPath: /etc/kubernetes/cloud-config
|
||||||
|
name: cloud-config
|
||||||
|
{{- with .Values.nodeSelector }}
|
||||||
|
nodeSelector:
|
||||||
|
{{- toYaml . | nindent 8 }}
|
||||||
|
{{- end }}
|
||||||
|
{{- with .Values.affinity }}
|
||||||
|
affinity:
|
||||||
|
{{- toYaml . | nindent 8 }}
|
||||||
|
{{- end }}
|
||||||
|
{{- with .Values.tolerations }}
|
||||||
|
tolerations:
|
||||||
|
{{- toYaml . | nindent 8 }}
|
||||||
|
{{- end }}
|
||||||
|
volumes:
|
||||||
|
- name: cloud-config
|
||||||
|
hostPath:
|
||||||
|
path: {{ required "A valid cloudConfigPath is required!" .Values.cloudConfigPath }}
|
||||||
|
type: File
|
|
@ -0,0 +1,37 @@
|
||||||
|
apiVersion: v1
|
||||||
|
kind: ServiceAccount
|
||||||
|
metadata:
|
||||||
|
name: {{ include "harvester-cloud-provider.name" . }}
|
||||||
|
namespace: {{ .Release.Namespace }}
|
||||||
|
labels:
|
||||||
|
{{- include "harvester-cloud-provider.labels" . | nindent 4 }}
|
||||||
|
---
|
||||||
|
apiVersion: rbac.authorization.k8s.io/v1
|
||||||
|
kind: ClusterRole
|
||||||
|
metadata:
|
||||||
|
name: {{ include "harvester-cloud-provider.name" . }}
|
||||||
|
rules:
|
||||||
|
- apiGroups: [ "" ]
|
||||||
|
resources: [ "services", "nodes", "events" ]
|
||||||
|
verbs: [ "get", "watch", "list", "update", "create", "patch" ]
|
||||||
|
- apiGroups: [ "" ]
|
||||||
|
resources: [ "nodes/status", "services/status" ]
|
||||||
|
verbs: [ "update", "patch" ]
|
||||||
|
- apiGroups: [ "coordination.k8s.io" ]
|
||||||
|
resources: [ "leases" ]
|
||||||
|
verbs: [ "get", "update", "create" ]
|
||||||
|
---
|
||||||
|
apiVersion: rbac.authorization.k8s.io/v1
|
||||||
|
kind: ClusterRoleBinding
|
||||||
|
metadata:
|
||||||
|
name: {{ include "harvester-cloud-provider.name" . }}
|
||||||
|
labels:
|
||||||
|
{{- include "harvester-cloud-provider.labels" . | nindent 4 }}
|
||||||
|
roleRef:
|
||||||
|
apiGroup: rbac.authorization.k8s.io
|
||||||
|
kind: ClusterRole
|
||||||
|
name: {{ include "harvester-cloud-provider.name" . }}
|
||||||
|
subjects:
|
||||||
|
- kind: ServiceAccount
|
||||||
|
name: {{ include "harvester-cloud-provider.name" . }}
|
||||||
|
namespace: {{ .Release.Namespace }}
|
|
@ -0,0 +1,71 @@
|
||||||
|
# Default values for harvester-cloud-provider.
|
||||||
|
# This is a YAML-formatted file.
|
||||||
|
# Declare variables to be passed into your templates.
|
||||||
|
|
||||||
|
replicasCount: 1
|
||||||
|
|
||||||
|
image:
|
||||||
|
repository: rancher/harvester-cloud-provider
|
||||||
|
pullPolicy: IfNotPresent
|
||||||
|
# Overrides the image tag whose default is the chart appVersion.
|
||||||
|
tag: v0.1.4
|
||||||
|
|
||||||
|
cloudConfigPath: "/etc/kubernetes/cloud-config"
|
||||||
|
|
||||||
|
imagePullSecrets: []
|
||||||
|
nameOverride: ""
|
||||||
|
fullnameOverride: ""
|
||||||
|
|
||||||
|
serviceAccount:
|
||||||
|
# Annotations to add to the service account
|
||||||
|
annotations: {}
|
||||||
|
# The name of the service account to use.
|
||||||
|
# If not set and create is true, a name is generated using the fullname template
|
||||||
|
name: ""
|
||||||
|
|
||||||
|
resources: {}
|
||||||
|
# We usually recommend not to specify default resources and to leave this as a conscious
|
||||||
|
# choice for the user. This also increases chances charts run on environments with little
|
||||||
|
# resources, such as Minikube. If you do want to specify resources, uncomment the following
|
||||||
|
# lines, adjust them as necessary, and remove the curly braces after 'resources:'.
|
||||||
|
# limits:
|
||||||
|
# cpu: 100m
|
||||||
|
# memory: 128Mi
|
||||||
|
# requests:
|
||||||
|
# cpu: 100m
|
||||||
|
# memory: 128Mi
|
||||||
|
|
||||||
|
nodeSelector:
|
||||||
|
kubernetes.io/os: linux
|
||||||
|
|
||||||
|
tolerations:
|
||||||
|
- effect: NoSchedule
|
||||||
|
key: node.cloudprovider.kubernetes.io/uninitialized
|
||||||
|
operator: Equal
|
||||||
|
value: "true"
|
||||||
|
- effect: NoSchedule
|
||||||
|
key: node-role.kubernetes.io/control-plane
|
||||||
|
operator: Equal
|
||||||
|
- effect: NoExecute
|
||||||
|
key: node-role.kubernetes.io/etcd
|
||||||
|
operator: Equal
|
||||||
|
- key: cattle.io/os
|
||||||
|
operator: Equal
|
||||||
|
value: "linux"
|
||||||
|
effect: NoSchedule
|
||||||
|
|
||||||
|
affinity:
|
||||||
|
podAntiAffinity:
|
||||||
|
requiredDuringSchedulingIgnoredDuringExecution:
|
||||||
|
- labelSelector:
|
||||||
|
matchExpressions:
|
||||||
|
- key: app.kubernetes.io/name
|
||||||
|
operator: In
|
||||||
|
values:
|
||||||
|
- harvester-cloud-provider
|
||||||
|
topologyKey: kubernetes.io/hostname
|
||||||
|
|
||||||
|
global:
|
||||||
|
cattle:
|
||||||
|
systemDefaultRegistry: ""
|
||||||
|
clusterName: ""
|
25
index.yaml
25
index.yaml
|
@ -667,6 +667,31 @@ entries:
|
||||||
- assets/fleet-crd/fleet-crd-0.3.000.tgz
|
- assets/fleet-crd/fleet-crd-0.3.000.tgz
|
||||||
version: 0.3.000
|
version: 0.3.000
|
||||||
harvester-cloud-provider:
|
harvester-cloud-provider:
|
||||||
|
- annotations:
|
||||||
|
catalog.cattle.io/certified: rancher
|
||||||
|
catalog.cattle.io/display-name: Harvester Cloud Provider
|
||||||
|
catalog.cattle.io/kube-version: '>= 1.18.0-0 < 1.25.0-0'
|
||||||
|
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.7.0-0'
|
||||||
|
catalog.cattle.io/release-name: harvester-cloud-provider
|
||||||
|
catalog.cattle.io/ui-component: harvester-cloud-provider
|
||||||
|
apiVersion: v2
|
||||||
|
appVersion: v0.1.4
|
||||||
|
created: "2022-08-11T21:49:38.200488+08:00"
|
||||||
|
description: A Helm chart for Harvester Cloud Provider
|
||||||
|
digest: d4f997f2acb802a53ae3b1d0303aec15be9404e3df9db83a66dc3d4f31b72248
|
||||||
|
keywords:
|
||||||
|
- infrastructure
|
||||||
|
- harvester
|
||||||
|
maintainers:
|
||||||
|
- name: harvester
|
||||||
|
name: harvester-cloud-provider
|
||||||
|
type: application
|
||||||
|
urls:
|
||||||
|
- assets/harvester-cloud-provider/harvester-cloud-provider-100.0.3+up0.1.13.tgz
|
||||||
|
version: 100.0.3+up0.1.13
|
||||||
- annotations:
|
- annotations:
|
||||||
catalog.cattle.io/certified: rancher
|
catalog.cattle.io/certified: rancher
|
||||||
catalog.cattle.io/display-name: Harvester Cloud Provider
|
catalog.cattle.io/display-name: Harvester Cloud Provider
|
||||||
|
|
|
@ -1,16 +1,16 @@
|
||||||
--- charts-original/Chart.yaml
|
--- charts-original/Chart.yaml
|
||||||
+++ charts/Chart.yaml
|
+++ charts/Chart.yaml
|
||||||
@@ -1,10 +1,11 @@
|
@@ -1,10 +1,10 @@
|
||||||
annotations:
|
annotations:
|
||||||
catalog.cattle.io/certified: rancher
|
catalog.cattle.io/certified: rancher
|
||||||
catalog.cattle.io/display-name: Harvester Cloud Provider
|
catalog.cattle.io/display-name: Harvester Cloud Provider
|
||||||
- catalog.cattle.io/kube-version: '>= 1.18'
|
- catalog.cattle.io/kube-version: '>= 1.18.0-0 < 1.24.0-0'
|
||||||
+ catalog.cattle.io/kube-version: '>= 1.18.0-0 < 1.25.0-0'
|
+ catalog.cattle.io/kube-version: '>= 1.18.0-0 < 1.25.0-0'
|
||||||
catalog.cattle.io/namespace: kube-system
|
catalog.cattle.io/namespace: kube-system
|
||||||
catalog.cattle.io/os: linux
|
catalog.cattle.io/os: linux
|
||||||
- catalog.cattle.io/rancher-version: '>= 2.6.1-0 <= 2.6.99-0'
|
- catalog.cattle.io/permits-os: linux
|
||||||
+ catalog.cattle.io/permits-os: linux,windows
|
+ catalog.cattle.io/permits-os: linux,windows
|
||||||
+ catalog.cattle.io/rancher-version: '>= 2.6.1-0 < 2.7.0-0'
|
catalog.cattle.io/rancher-version: '>= 2.6.1-0 < 2.7.0-0'
|
||||||
catalog.cattle.io/release-name: harvester-cloud-provider
|
catalog.cattle.io/release-name: harvester-cloud-provider
|
||||||
catalog.cattle.io/ui-component: harvester-cloud-provider
|
catalog.cattle.io/ui-component: harvester-cloud-provider
|
||||||
catalog.cattle.io/upstream-version: 0.1.8
|
catalog.cattle.io/upstream-version: 0.1.8
|
||||||
|
|
|
@ -1,2 +1,2 @@
|
||||||
url: https://github.com/harvester/charts/releases/download/harvester-cloud-provider-0.1.12/harvester-cloud-provider-0.1.12.tgz
|
url: https://github.com/harvester/charts/releases/download/harvester-cloud-provider-0.1.13/harvester-cloud-provider-0.1.13.tgz
|
||||||
version: 100.0.2
|
version: 100.0.3
|
||||||
|
|
Loading…
Reference in New Issue