-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #467 from sighupio/feat/upgrade-to-0-27-2
Feat/upgrade to 0.27.2
- Loading branch information
Showing
17 changed files
with
396 additions
and
18 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
10 changes: 10 additions & 0 deletions
10
configs/upgrades/ekscluster/1.27.1-1.27.2/pre-distribution.sh.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,10 @@ | ||
#!/usr/bin/env sh | ||
|
||
set -e | ||
|
||
kubectlbin="{{ .paths.kubectl }}" | ||
|
||
# Remove some validating webhooks during the upgrade | ||
{{- if eq .spec.distribution.modules.policy.type "gatekeeper" }} | ||
$kubectlbin delete --ignore-not-found=true validatingwebhookconfiguration gatekeeper-validating-webhook-configuration | ||
{{- end }} |
10 changes: 10 additions & 0 deletions
10
configs/upgrades/kfddistribution/1.27.1-1.27.2/pre-distribution.sh.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,10 @@ | ||
#!/usr/bin/env sh | ||
|
||
set -e | ||
|
||
kubectlbin="{{ .paths.kubectl }}" | ||
|
||
# Remove some validating webhooks during the upgrade | ||
{{- if eq .spec.distribution.modules.policy.type "gatekeeper" }} | ||
$kubectlbin delete --ignore-not-found=true validatingwebhookconfiguration gatekeeper-validating-webhook-configuration | ||
{{- end }} |
10 changes: 10 additions & 0 deletions
10
configs/upgrades/onpremises/1.27.1-1.27.2/pre-distribution.sh.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,10 @@ | ||
#!/usr/bin/env sh | ||
|
||
set -e | ||
|
||
kubectlbin="{{ .paths.kubectl }}" | ||
|
||
# Remove some validating webhooks during the upgrade | ||
{{- if eq .spec.distribution.modules.policy.type "gatekeeper" }} | ||
$kubectlbin delete --ignore-not-found=true validatingwebhookconfiguration gatekeeper-validating-webhook-configuration | ||
{{- end }} |
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
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
86 changes: 86 additions & 0 deletions
86
.../ekscluster/testdata/ekscluster-v1-27-2-create-and-delete/furyctl-public-minimal.yaml.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,86 @@ | ||
# This file represents a minimal config for a public EKS cluster with 1.25.9 version | ||
# and the least amount of modules enabled. | ||
--- | ||
apiVersion: kfd.sighup.io/v1alpha2 | ||
kind: EKSCluster | ||
metadata: | ||
name: __CLUSTER_NAME__ | ||
spec: | ||
distributionVersion: v1.27.2 | ||
toolsConfiguration: | ||
terraform: | ||
state: | ||
s3: | ||
bucketName: __CLUSTER_NAME__ | ||
keyPrefix: swe-dev/__CLUSTER_NAME__ | ||
region: eu-west-1 | ||
region: eu-west-1 | ||
tags: | ||
env: "swe-dev" | ||
k8s: "__CLUSTER_NAME__" | ||
githubOrg: "sighupio" | ||
githubRepo: "furyctl" | ||
infrastructure: | ||
vpc: | ||
network: | ||
cidr: 10.10.0.0/16 | ||
subnetsCidrs: | ||
private: | ||
- 10.10.0.0/20 | ||
- 10.10.16.0/20 | ||
- 10.10.32.0/20 | ||
- 10.10.48.0/20 | ||
public: | ||
- 10.10.192.0/24 | ||
- 10.10.193.0/24 | ||
- 10.10.194.0/24 | ||
kubernetes: | ||
apiServer: | ||
privateAccess: false | ||
publicAccess: true | ||
privateAccessCidrs: ["0.0.0.0/0"] | ||
publicAccessCidrs: ["0.0.0.0/0"] | ||
nodeAllowedSshPublicKey: "{file://./id_ed25519.pub}" | ||
nodePoolsLaunchKind: "launch_templates" | ||
logRetentionDays: 1 | ||
nodePools: | ||
- name: workers | ||
size: | ||
min: 1 | ||
max: 2 | ||
instance: | ||
type: t3.xlarge | ||
spot: true | ||
volumeSize: 50 | ||
tags: | ||
k8s.io/cluster-autoscaler/node-template/label/nodepool: "workers" | ||
k8s.io/cluster-autoscaler/node-template/label/node.kubernetes.io/role: "workers" | ||
distribution: | ||
modules: | ||
auth: | ||
provider: | ||
type: none | ||
ingress: | ||
baseDomain: internal.example.dev | ||
nginx: | ||
type: none | ||
tls: | ||
provider: none | ||
certManager: | ||
clusterIssuer: | ||
name: letsencrypt-fury | ||
email: engineering@sighup.io | ||
type: http01 | ||
dns: | ||
public: | ||
name: "example.dev" | ||
create: true | ||
private: | ||
name: "internal.example.dev" | ||
create: true | ||
logging: | ||
type: none | ||
policy: | ||
type: none | ||
dr: | ||
type: none |
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
32 changes: 32 additions & 0 deletions
32
...ddistribution/testdata/kfddistribution-v1-27-1-create-and-delete/furyctl-minimal.yaml.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,32 @@ | ||
# Copyright (c) 2017-present SIGHUP s.r.l All rights reserved. | ||
# Use of this source code is governed by a BSD-style | ||
# license that can be found in the LICENSE file. | ||
|
||
--- | ||
apiVersion: kfd.sighup.io/v1alpha2 | ||
kind: KFDDistribution | ||
metadata: | ||
name: __CLUSTER_NAME__ | ||
spec: | ||
distributionVersion: v1.27.1 | ||
distribution: | ||
kubeconfig: __KUBECONFIG__ | ||
modules: | ||
auth: | ||
provider: | ||
type: none | ||
ingress: | ||
baseDomain: internal.example.dev | ||
nginx: | ||
type: none | ||
tls: | ||
provider: none | ||
logging: | ||
type: none | ||
networking: | ||
type: calico | ||
policy: | ||
type: none | ||
dr: | ||
type: on-premises | ||
velero: {} |
16 changes: 16 additions & 0 deletions
16
...ensive/kfddistribution/testdata/kfddistribution-v1-27-1-create-and-delete/kind-config.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,16 @@ | ||
# Copyright (c) 2017-present SIGHUP s.r.l All rights reserved. | ||
# Use of this source code is governed by a BSD-style | ||
# license that can be found in the LICENSE file. | ||
|
||
--- | ||
apiVersion: kind.x-k8s.io/v1alpha4 | ||
kind: Cluster | ||
nodes: | ||
- role: control-plane | ||
extraPortMappings: | ||
- containerPort: 30080 | ||
hostPort: 80 | ||
protocol: TCP | ||
- containerPort: 30443 | ||
hostPort: 443 | ||
protocol: TCP |
32 changes: 32 additions & 0 deletions
32
...ddistribution/testdata/kfddistribution-v1-27-2-create-and-delete/furyctl-minimal.yaml.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,32 @@ | ||
# Copyright (c) 2017-present SIGHUP s.r.l All rights reserved. | ||
# Use of this source code is governed by a BSD-style | ||
# license that can be found in the LICENSE file. | ||
|
||
--- | ||
apiVersion: kfd.sighup.io/v1alpha2 | ||
kind: KFDDistribution | ||
metadata: | ||
name: __CLUSTER_NAME__ | ||
spec: | ||
distributionVersion: v1.27.2 | ||
distribution: | ||
kubeconfig: __KUBECONFIG__ | ||
modules: | ||
auth: | ||
provider: | ||
type: none | ||
ingress: | ||
baseDomain: internal.example.dev | ||
nginx: | ||
type: none | ||
tls: | ||
provider: none | ||
logging: | ||
type: none | ||
networking: | ||
type: calico | ||
policy: | ||
type: none | ||
dr: | ||
type: on-premises | ||
velero: {} |
16 changes: 16 additions & 0 deletions
16
...ensive/kfddistribution/testdata/kfddistribution-v1-27-2-create-and-delete/kind-config.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,16 @@ | ||
# Copyright (c) 2017-present SIGHUP s.r.l All rights reserved. | ||
# Use of this source code is governed by a BSD-style | ||
# license that can be found in the LICENSE file. | ||
|
||
--- | ||
apiVersion: kind.x-k8s.io/v1alpha4 | ||
kind: Cluster | ||
nodes: | ||
- role: control-plane | ||
extraPortMappings: | ||
- containerPort: 30080 | ||
hostPort: 80 | ||
protocol: TCP | ||
- containerPort: 30443 | ||
hostPort: 443 | ||
protocol: TCP |
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
Oops, something went wrong.