Skip to content

Commit 9a64799

Browse files
committed
Crossplane
1 parent 98a1ebf commit 9a64799

8 files changed

+7
-50
lines changed

crossplane-config/config-app.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,4 @@ kind: Configuration
55
metadata:
66
name: crossplane-app
77
spec:
8-
package: xpkg.upbound.io/devops-toolkit/dot-application:v0.5.27
8+
package: xpkg.upbound.io/devops-toolkit/dot-application:v0.5.30

crossplane-config/config-kubernetes.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,4 @@ kind: Configuration
55
metadata:
66
name: crossplane-k8s
77
spec:
8-
package: xpkg.upbound.io/devops-toolkit/dot-kubernetes:v0.10.36
8+
package: xpkg.upbound.io/devops-toolkit/dot-kubernetes:v0.10.47

crossplane-config/config-sql.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,4 @@ kind: Configuration
55
metadata:
66
name: crossplane-sql
77
spec:
8-
package: xpkg.upbound.io/devops-toolkit/dot-sql:v0.7.14
8+
package: xpkg.upbound.io/devops-toolkit/dot-sql:v0.8.1

crossplane-config/provider-aws-official.yaml

-8
This file was deleted.

crossplane-config/provider-civo.yaml

-6
This file was deleted.

crossplane-config/provider-google-official.yaml

-8
This file was deleted.

setup-infra.sh

-2
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,6 @@ Do you have those tools installed?
3838

3939
kubectl apply --filename crossplane-config/config-kubernetes.yaml
4040

41-
kubectl apply --filename crossplane-config/provider-civo.yaml
42-
4341
kubectl wait --for=condition=healthy provider.pkg.crossplane.io --all --timeout=300s
4442

4543
CIVO_TOKEN=$(gum input --placeholder "Please enter Civo (https://civo.com) token." --password --value "$CIVO_TOKEN")

setup.sh

+4-23
Original file line numberDiff line numberDiff line change
@@ -259,36 +259,17 @@ helm upgrade --install crossplane crossplane-stable/crossplane --namespace cross
259259

260260
kubectl apply --filename idp-demo/crossplane-config/provider-kubernetes-incluster.yaml
261261

262+
kubectl apply --filename idp-demo/crossplane-config/provider-helm-incluster.yaml
263+
264+
kubectl wait --for=condition=healthy provider.pkg.crossplane.io --all --timeout=300s
265+
262266
kubectl apply --filename idp-demo/crossplane-config/config-sql.yaml
263267

264268
kubectl apply --filename idp-demo/crossplane-config/config-app.yaml
265269

266-
kubectl apply --filename idp-demo/crossplane-config/provider-$HYPERSCALER-official.yaml
267-
268270
kubectl wait --for=condition=healthy provider.pkg.crossplane.io --all --timeout=300s
269271

270272
if [[ "$HYPERSCALER" == "google" ]]; then
271-
gum style --foreground 212 --border-foreground 212 --border double --margin "1 2" --padding "2 4" \
272-
'GKE starts with a very small control plane.' \
273-
'
274-
Since a lot of CRDs were installed, GKE is likely going to detect
275-
that its control plane is too small for it and increase its size
276-
automatically.' \
277-
'
278-
As a result, you might experience delays or errors like
279-
"connection refused" or "TLS handshake timeout" (among others).' \
280-
'
281-
So, we will wait for a while (e.g., 90 minutes) for the control
282-
plane nodes to be automatically changed for larger ones.' \
283-
'
284-
This issue will soon be resolved and, when that happens, I will
285-
remove this message and the sleep command that follows.' \
286-
'
287-
Grab a cup of coffee and watch an episode of your favorite
288-
series on Netflix.'
289-
290-
gum spin --spinner line --title "Waiting for GKE control plane nodes to resize (1h approx.)..." -- sleep 5400
291-
292273
echo "apiVersion: gcp.upbound.io/v1beta1
293274
kind: ProviderConfig
294275
metadata:

0 commit comments

Comments
 (0)