-
Notifications
You must be signed in to change notification settings - Fork 718
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'dev-v2.8' into move-to-k8s-v1.27
- Loading branch information
Showing
140 changed files
with
4,315 additions
and
73 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
name: Require Checklist | ||
|
||
on: | ||
pull_request_target: | ||
branches: | ||
- dev-v* | ||
- release-v* | ||
|
||
jobs: | ||
review-checklist: | ||
name: Make validation comment on PR | ||
runs-on: ubuntu-latest | ||
permissions: write-all | ||
steps: | ||
- name: Make validation comment | ||
uses: actions/github-script@v4 | ||
with: | ||
github-token: ${{secrets.GITHUB_TOKEN}} | ||
script: | | ||
github.issues.createComment({ | ||
issue_number: context.issue.number, | ||
owner: context.repo.owner, | ||
repo: context.repo.repo, | ||
body: `## Validation steps | ||
- [ ] Ensure any new images have repository and tag on the same level to ensure the rancher-images.txt is generated correctly for it for airgap scenarios.`, | ||
}) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
name: Tasks Check | ||
|
||
on: | ||
pull_request_review: | ||
types: | ||
- submitted | ||
- approved | ||
|
||
jobs: | ||
checkbox-check: | ||
if: startsWith(github.event.pull_request.base.ref, 'dev-v') || startsWith(github.event.pull_request.base.ref, 'release-v') | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Check checkboxes | ||
uses: mheap/require-checklist-action@v2 | ||
with: | ||
token: ${{ secrets.GITHUB_TOKEN }} | ||
requireChecklist: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added
BIN
+2.9 KB
assets/harvester-cloud-provider/harvester-cloud-provider-103.0.0+up0.1.14.tgz
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion
2
...et-agent/103.1.0+up0.9.0-rc.2/values.yaml → ...et-agent/103.1.0+up0.9.0-rc.3/values.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
4 changes: 2 additions & 2 deletions
4
...1.0+up0.9.0-rc.2/charts/gitjob/Chart.yaml → ...1.0+up0.9.0-rc.3/charts/gitjob/Chart.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
apiVersion: v2 | ||
appVersion: 0.1.86 | ||
appVersion: 0.1.87 | ||
description: Controller that run jobs based on git events | ||
name: gitjob | ||
version: 0.1.86 | ||
version: 0.1.87 |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion
2
....0+up0.9.0-rc.2/charts/gitjob/values.yaml → ....0+up0.9.0-rc.3/charts/gitjob/values.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
gitjob: | ||
repository: rancher/gitjob | ||
tag: v0.1.86 | ||
tag: v0.1.87 | ||
|
||
global: | ||
cattle: | ||
|
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
4 changes: 2 additions & 2 deletions
4
...ts/fleet/103.1.0+up0.9.0-rc.2/values.yaml → ...ts/fleet/103.1.0+up0.9.0-rc.3/values.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
23 changes: 23 additions & 0 deletions
23
charts/harvester-cloud-provider/103.0.0+up0.1.14/.helmignore
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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/ |
22 changes: 22 additions & 0 deletions
22
charts/harvester-cloud-provider/103.0.0+up0.1.14/Chart.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
annotations: | ||
catalog.cattle.io/certified: rancher | ||
catalog.cattle.io/display-name: Harvester Cloud Provider | ||
catalog.cattle.io/kube-version: '>= 1.23.0-0 < 1.28.0-0' | ||
catalog.cattle.io/namespace: kube-system | ||
catalog.cattle.io/os: linux | ||
catalog.cattle.io/permits-os: linux | ||
catalog.cattle.io/rancher-version: '>= 2.8.0-0 < 2.9.0-0' | ||
catalog.cattle.io/release-name: harvester-cloud-provider | ||
catalog.cattle.io/ui-component: harvester-cloud-provider | ||
catalog.cattle.io/upstream-version: 0.1.14 | ||
apiVersion: v2 | ||
appVersion: v0.1.5 | ||
description: A Helm chart for Harvester Cloud Provider | ||
keywords: | ||
- infrastructure | ||
- harvester | ||
maintainers: | ||
- name: harvester | ||
name: harvester-cloud-provider | ||
type: application | ||
version: 103.0.0+up0.1.14 |
3 changes: 3 additions & 0 deletions
3
charts/harvester-cloud-provider/103.0.0+up0.1.14/ci/kind-values.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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" |
11 changes: 11 additions & 0 deletions
11
charts/harvester-cloud-provider/103.0.0+up0.1.14/questions.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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" |
69 changes: 69 additions & 0 deletions
69
charts/harvester-cloud-provider/103.0.0+up0.1.14/templates/_helpers.tpl
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 -}} |
53 changes: 53 additions & 0 deletions
53
charts/harvester-cloud-provider/103.0.0+up0.1.14/templates/deployment.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 |
Oops, something went wrong.