Skip to content

Commit

Permalink
more small updates
Browse files Browse the repository at this point in the history
  • Loading branch information
zackbradys committed Apr 16, 2024
1 parent c36e9fb commit 0918a1b
Show file tree
Hide file tree
Showing 9 changed files with 37 additions and 16 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,18 +23,18 @@ jobs:
env:
CR_TOKEN: '${{ secrets.GITHUB_TOKEN }}'

- name: Authenticate to GHCR
- name: Authenticate to GitHub Container Registry
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}

- name: Push Chart(s) to GHCR
- name: Push Chart(s) to GitHub Container Registry
run: |
for pkg in .cr-release-packages/*; do
if [ -z "${pkg:-}" ]; then
for package in .cr-release-packages/*; do
if [ -z "${package:-}" ]; then
break
fi
helm push "${pkg}" oci://ghcr.io/${GITHUB_REPOSITORY_OWNER}/charts
helm push "${package}" oci://ghcr.io/${{ github.repository_owner }}/charts
done
21 changes: 21 additions & 0 deletions charts/cluster-templates/.helmignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# HELM IGNORE OPTIONS:
# Patterns to ignore when building Helm packages.
# Supports shell glob matching, relative path matching, and negation (prefixed with !)

.DS_Store
.git/
.gitignore
.bzr/
.bzrignore
.hg/
.hgignore
.svn/
*.swp
*.bak
*.tmp
*.orig
*~
.project
.idea/
*.tmproj
.vscode/
10 changes: 5 additions & 5 deletions charts/cluster-templates/questions.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,16 +27,16 @@ questions:
- custom
group: 'General'
- variable: kubernetesVersion
default: v1.26.10+rke2r2
default: v1.27.12+rke2r1
description: 'Specify Kubernetes Version'
label: 'Kubernetes Version'
type: enum
required: true
options:
- v1.26.10+rke2r2
- v1.25.15+rke2r2
- v1.24.17+rke2r2
- v1.23.17+rke2r2
- v1.27.12+rke2r1
- v1.26.13+rke2r1
- v1.25.16+rke2r1
- v1.24.17+rke2r1
group: 'General'
- variable: localClusterAuthEndpoint.enabled
default: false
Expand Down
2 changes: 1 addition & 1 deletion charts/cluster-templates/templates/cluster.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,7 @@ spec:
{{- range .Values.cluster.config.registries.mirrors }}
{{ .name }}:
endpoint:
{{- range .endpoint }}
{{- range .endpoints }}
- {{ . }}
{{- end }}
{{- if .rewrite }}
Expand Down
2 changes: 1 addition & 1 deletion charts/cluster-templates/values-aws.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ cluster:
name: rke2-cluster-aws
config:
systemDefaultRegistry: docker.io # default registry
kubernetesVersion: v1.27.10+rke2r1 # https://github.com/rancher/rke2/releases
kubernetesVersion: v1.27.12+rke2r1 # https://github.com/rancher/rke2/releases
localClusterAuthEndpoint:
enabled: false
# agentEnvVars:
Expand Down
2 changes: 1 addition & 1 deletion charts/cluster-templates/values-custom.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ cluster:
name: rke2-cluster-custom
config:
systemDefaultRegistry: docker.io # default registry
kubernetesVersion: v1.27.10+rke2r1 # https://github.com/rancher/rke2/releases
kubernetesVersion: v1.27.12+rke2r1 # https://github.com/rancher/rke2/releases
localClusterAuthEndpoint:
enabled: false
# agentEnvVars:
Expand Down
2 changes: 1 addition & 1 deletion charts/cluster-templates/values-digitalocean.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ cluster:
name: rke2-cluster-digitalocean
config:
systemDefaultRegistry: docker.io # default registry
kubernetesVersion: v1.27.10+rke2r1 # https://github.com/rancher/rke2/releases
kubernetesVersion: v1.27.12+rke2r1 # https://github.com/rancher/rke2/releases
localClusterAuthEndpoint:
enabled: false
# agentEnvVars:
Expand Down
2 changes: 1 addition & 1 deletion charts/cluster-templates/values-harvester.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ cluster:
name: rke2-cluster-harvester
config:
systemDefaultRegistry: docker.io # default registry
kubernetesVersion: v1.27.10+rke2r1 # https://github.com/rancher/rke2/releases
kubernetesVersion: v1.27.12+rke2r1 # https://github.com/rancher/rke2/releases
localClusterAuthEndpoint:
enabled: false
# agentEnvVars:
Expand Down
2 changes: 1 addition & 1 deletion charts/cluster-templates/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ cluster:
name: rke2-cluster
config:
systemDefaultRegistry: docker.io # default registry
kubernetesVersion: v1.27.10+rke2r1 # https://github.com/rancher/rke2/releases
kubernetesVersion: v1.27.12+rke2r1 # https://github.com/rancher/rke2/releases
localClusterAuthEndpoint:
enabled: false
# agentEnvVars:
Expand Down

0 comments on commit 0918a1b

Please sign in to comment.