Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,7 @@ on:

env:
# Common versions
GO_VERSION: '1.19'
GOLANGCI_VERSION: 'v1.50.0'
GO_VERSION: '1.21'
DOCKER_BUILDX_VERSION: 'v0.8.2'

# Common users. We can't run a step 'if secrets.XXX != ""' but we can run a
Expand Down Expand Up @@ -77,7 +76,8 @@ jobs:
- name: Lint
uses: golangci/golangci-lint-action@v4
with:
version: ${{ env.GOLANGCI_VERSION }}
version: latest
args: --timeout 10m

check-diff:
runs-on: ubuntu-22.04
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ NPROCS ?= 1
# to half the number of CPU cores.
GO_TEST_PARALLEL := $(shell echo $$(( $(NPROCS) / 2 )))

GO_REQUIRED_VERSION ?= 1.19
GO_REQUIRED_VERSION ?= 1.21
GOLANGCILINT_VERSION ?= 1.50.0
GO_STATIC_PACKAGES = $(GO_PROJECT)/cmd/provider $(GO_PROJECT)/cmd/generator
GO_LDFLAGS += -X $(GO_PROJECT)/internal/version.Version=$(VERSION)
Expand Down
20 changes: 10 additions & 10 deletions go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/scaleway/provider-scaleway

go 1.19
go 1.21

require (
github.com/crossplane/crossplane-runtime v1.14.0-rc.0.0.20230912122805-43c9ceeb2071
Expand All @@ -11,7 +11,7 @@ require (
k8s.io/apimachinery v0.29.3
k8s.io/client-go v0.29.3
sigs.k8s.io/controller-runtime v0.16.1
sigs.k8s.io/controller-tools v0.13.0
sigs.k8s.io/controller-tools v0.14.0
)

require (
Expand All @@ -29,8 +29,8 @@ require (
github.com/emicklei/go-restful/v3 v3.11.0 // indirect
github.com/evanphx/json-patch/v5 v5.6.0 // indirect
github.com/fatih/camelcase v1.0.0 // indirect
github.com/fatih/color v1.15.0 // indirect
github.com/fsnotify/fsnotify v1.6.0 // indirect
github.com/fatih/color v1.16.0 // indirect
github.com/fsnotify/fsnotify v1.7.0 // indirect
github.com/go-logr/logr v1.3.0 // indirect
github.com/go-logr/zapr v1.2.4 // indirect
github.com/go-openapi/jsonpointer v0.19.6 // indirect
Expand Down Expand Up @@ -64,7 +64,7 @@ require (
github.com/json-iterator/go v1.1.12 // indirect
github.com/mailru/easyjson v0.7.7 // indirect
github.com/mattn/go-colorable v0.1.13 // indirect
github.com/mattn/go-isatty v0.0.17 // indirect
github.com/mattn/go-isatty v0.0.20 // indirect
github.com/matttproud/golang_protobuf_extensions v1.0.4 // indirect
github.com/mitchellh/copystructure v1.2.0 // indirect
github.com/mitchellh/go-ps v1.0.0 // indirect
Expand All @@ -81,7 +81,7 @@ require (
github.com/prometheus/common v0.44.0 // indirect
github.com/prometheus/procfs v0.10.1 // indirect
github.com/spf13/afero v1.9.5 // indirect
github.com/spf13/cobra v1.7.0 // indirect
github.com/spf13/cobra v1.8.0 // indirect
github.com/spf13/pflag v1.0.5 // indirect
github.com/tmccombs/hcl2json v0.3.3 // indirect
github.com/vmihailenco/msgpack v4.0.4+incompatible // indirect
Expand All @@ -102,19 +102,19 @@ require (
golang.org/x/tools v0.16.1 // indirect
gomodules.xyz/jsonpatch/v2 v2.4.0 // indirect
google.golang.org/appengine v1.6.7 // indirect
google.golang.org/genproto/googleapis/rpc v0.0.0-20230711160842-782d3b101e98 // indirect
google.golang.org/genproto/googleapis/rpc v0.0.0-20230822172742-b8732ec3820d // indirect
google.golang.org/grpc v1.58.3 // indirect
google.golang.org/protobuf v1.33.0 // indirect
gopkg.in/inf.v0 v0.9.1 // indirect
gopkg.in/yaml.v2 v2.4.0 // indirect
gopkg.in/yaml.v3 v3.0.1 // indirect
k8s.io/api v0.29.3 // indirect
k8s.io/apiextensions-apiserver v0.28.1 // indirect
k8s.io/component-base v0.28.1 // indirect
k8s.io/apiextensions-apiserver v0.29.0 // indirect
k8s.io/component-base v0.29.0 // indirect
k8s.io/klog/v2 v2.110.1 // indirect
k8s.io/kube-openapi v0.0.0-20231010175941-2dd684a91f00 // indirect
k8s.io/utils v0.0.0-20230726121419-3b25d923346b // indirect
sigs.k8s.io/json v0.0.0-20221116044647-bc3834ca7abd // indirect
sigs.k8s.io/structured-merge-diff/v4 v4.4.1 // indirect
sigs.k8s.io/yaml v1.3.0 // indirect
sigs.k8s.io/yaml v1.4.0 // indirect
)
58 changes: 37 additions & 21 deletions go.sum

Large diffs are not rendered by default.

257 changes: 141 additions & 116 deletions package/crds/account.scaleway.upbound.io_projects.yaml

Large diffs are not rendered by default.

247 changes: 137 additions & 110 deletions package/crds/account.scaleway.upbound.io_sshkeys.yaml

Large diffs are not rendered by default.

307 changes: 174 additions & 133 deletions package/crds/applesilicon.scaleway.upbound.io_servers.yaml

Large diffs are not rendered by default.

630 changes: 350 additions & 280 deletions package/crds/baremetal.scaleway.upbound.io_servers.yaml

Large diffs are not rendered by default.

279 changes: 152 additions & 127 deletions package/crds/cockpit.scaleway.upbound.io_cockpits.yaml

Large diffs are not rendered by default.

280 changes: 152 additions & 128 deletions package/crds/cockpit.scaleway.upbound.io_grafanausers.yaml

Large diffs are not rendered by default.

394 changes: 236 additions & 158 deletions package/crds/cockpit.scaleway.upbound.io_tokens.yaml

Large diffs are not rendered by default.

296 changes: 163 additions & 133 deletions package/crds/container.scaleway.upbound.io_containernamespaces.yaml

Large diffs are not rendered by default.

540 changes: 290 additions & 250 deletions package/crds/container.scaleway.upbound.io_containers.yaml

Large diffs are not rendered by default.

324 changes: 176 additions & 148 deletions package/crds/container.scaleway.upbound.io_crons.yaml

Large diffs are not rendered by default.

289 changes: 158 additions & 131 deletions package/crds/container.scaleway.upbound.io_domains.yaml

Large diffs are not rendered by default.

307 changes: 163 additions & 144 deletions package/crds/container.scaleway.upbound.io_tokens.yaml

Large diffs are not rendered by default.

649 changes: 344 additions & 305 deletions package/crds/domain.scaleway.upbound.io_records.yaml

Large diffs are not rendered by default.

266 changes: 149 additions & 117 deletions package/crds/domain.scaleway.upbound.io_zones.yaml

Large diffs are not rendered by default.

325 changes: 183 additions & 142 deletions package/crds/flexibleip.scaleway.upbound.io_ips.yaml

Large diffs are not rendered by default.

324 changes: 176 additions & 148 deletions package/crds/function.scaleway.upbound.io_crons.yaml

Large diffs are not rendered by default.

301 changes: 161 additions & 140 deletions package/crds/function.scaleway.upbound.io_domains.yaml

Large diffs are not rendered by default.

296 changes: 163 additions & 133 deletions package/crds/function.scaleway.upbound.io_functionnamespaces.yaml

Large diffs are not rendered by default.

537 changes: 274 additions & 263 deletions package/crds/function.scaleway.upbound.io_functions.yaml

Large diffs are not rendered by default.

307 changes: 163 additions & 144 deletions package/crds/function.scaleway.upbound.io_tokens.yaml

Large diffs are not rendered by default.

348 changes: 191 additions & 157 deletions package/crds/iam.scaleway.upbound.io_apikeys.yaml

Large diffs are not rendered by default.

273 changes: 151 additions & 122 deletions package/crds/iam.scaleway.upbound.io_applications.yaml

Large diffs are not rendered by default.

344 changes: 188 additions & 156 deletions package/crds/iam.scaleway.upbound.io_groups.yaml

Large diffs are not rendered by default.

469 changes: 258 additions & 211 deletions package/crds/iam.scaleway.upbound.io_policies.yaml

Large diffs are not rendered by default.

275 changes: 157 additions & 118 deletions package/crds/iam.scaleway.upbound.io_sshkeys.yaml

Large diffs are not rendered by default.

403 changes: 217 additions & 186 deletions package/crds/instance.scaleway.upbound.io_images.yaml

Large diffs are not rendered by default.

291 changes: 159 additions & 132 deletions package/crds/instance.scaleway.upbound.io_ips.yaml

Large diffs are not rendered by default.

311 changes: 168 additions & 143 deletions package/crds/instance.scaleway.upbound.io_placementgroups.yaml

Large diffs are not rendered by default.

572 changes: 281 additions & 291 deletions package/crds/instance.scaleway.upbound.io_securitygrouprules.yaml

Large diffs are not rendered by default.

708 changes: 345 additions & 363 deletions package/crds/instance.scaleway.upbound.io_securitygroups.yaml

Large diffs are not rendered by default.

871 changes: 475 additions & 396 deletions package/crds/instance.scaleway.upbound.io_servers.yaml

Large diffs are not rendered by default.

408 changes: 226 additions & 182 deletions package/crds/instance.scaleway.upbound.io_snapshots.yaml

Large diffs are not rendered by default.

302 changes: 164 additions & 138 deletions package/crds/instance.scaleway.upbound.io_userdata.yaml

Large diffs are not rendered by default.

327 changes: 176 additions & 151 deletions package/crds/instance.scaleway.upbound.io_volumes.yaml

Large diffs are not rendered by default.

450 changes: 248 additions & 202 deletions package/crds/iot.scaleway.upbound.io_devices.yaml

Large diffs are not rendered by default.

316 changes: 173 additions & 143 deletions package/crds/iot.scaleway.upbound.io_hubs.yaml

Large diffs are not rendered by default.

310 changes: 169 additions & 141 deletions package/crds/iot.scaleway.upbound.io_networks.yaml

Large diffs are not rendered by default.

532 changes: 285 additions & 247 deletions package/crds/iot.scaleway.upbound.io_routes.yaml

Large diffs are not rendered by default.

913 changes: 473 additions & 440 deletions package/crds/k8s.scaleway.upbound.io_clusters.yaml

Large diffs are not rendered by default.

625 changes: 344 additions & 281 deletions package/crds/k8s.scaleway.upbound.io_pools.yaml

Large diffs are not rendered by default.

849 changes: 457 additions & 392 deletions package/crds/lb.scaleway.upbound.io_backends.yaml

Large diffs are not rendered by default.

373 changes: 203 additions & 170 deletions package/crds/lb.scaleway.upbound.io_certificates.yaml

Large diffs are not rendered by default.

665 changes: 343 additions & 322 deletions package/crds/lb.scaleway.upbound.io_frontends.yaml

Large diffs are not rendered by default.

264 changes: 144 additions & 120 deletions package/crds/lb.scaleway.upbound.io_ips.yaml

Large diffs are not rendered by default.

468 changes: 254 additions & 214 deletions package/crds/lb.scaleway.upbound.io_lbs.yaml

Large diffs are not rendered by default.

368 changes: 192 additions & 176 deletions package/crds/lb.scaleway.upbound.io_routes.yaml

Large diffs are not rendered by default.

403 changes: 222 additions & 181 deletions package/crds/object.scaleway.upbound.io_acls.yaml

Large diffs are not rendered by default.

537 changes: 279 additions & 258 deletions package/crds/object.scaleway.upbound.io_buckets.yaml

Large diffs are not rendered by default.

316 changes: 162 additions & 154 deletions package/crds/object.scaleway.upbound.io_lockconfigurations.yaml

Large diffs are not rendered by default.

370 changes: 207 additions & 163 deletions package/crds/object.scaleway.upbound.io_objects.yaml

Large diffs are not rendered by default.

256 changes: 141 additions & 115 deletions package/crds/object.scaleway.upbound.io_policies.yaml

Large diffs are not rendered by default.

268 changes: 150 additions & 118 deletions package/crds/object.scaleway.upbound.io_websiteconfigurations.yaml

Large diffs are not rendered by default.

311 changes: 170 additions & 141 deletions package/crds/rdb.scaleway.upbound.io_acls.yaml

Large diffs are not rendered by default.

337 changes: 185 additions & 152 deletions package/crds/rdb.scaleway.upbound.io_databasebackups.yaml

Large diffs are not rendered by default.

301 changes: 164 additions & 137 deletions package/crds/rdb.scaleway.upbound.io_databases.yaml

Large diffs are not rendered by default.

557 changes: 318 additions & 239 deletions package/crds/rdb.scaleway.upbound.io_instances.yaml

Large diffs are not rendered by default.

314 changes: 173 additions & 141 deletions package/crds/rdb.scaleway.upbound.io_privileges.yaml

Large diffs are not rendered by default.

419 changes: 225 additions & 194 deletions package/crds/rdb.scaleway.upbound.io_readreplicas.yaml

Large diffs are not rendered by default.

300 changes: 167 additions & 133 deletions package/crds/rdb.scaleway.upbound.io_users.yaml

Large diffs are not rendered by default.

536 changes: 305 additions & 231 deletions package/crds/redis.scaleway.upbound.io_clusters.yaml

Large diffs are not rendered by default.

285 changes: 155 additions & 130 deletions package/crds/registry.scaleway.upbound.io_registrynamespaces.yaml

Large diffs are not rendered by default.

49 changes: 30 additions & 19 deletions package/crds/scaleway.upbound.io_providerconfigs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.13.0
controller-gen.kubebuilder.io/version: v0.14.0
name: providerconfigs.scaleway.upbound.io
spec:
group: scaleway.upbound.io
Expand Down Expand Up @@ -32,14 +32,19 @@ spec:
description: A ProviderConfig configures a Scaleway provider.
properties:
apiVersion:
description: 'APIVersion defines the versioned schema of this representation
of an object. Servers should convert recognized schemas to the latest
internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources'
description: |-
APIVersion defines the versioned schema of this representation of an object.
Servers should convert recognized schemas to the latest internal value, and
may reject unrecognized values.
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
type: string
kind:
description: 'Kind is a string value representing the REST resource this
object represents. Servers may infer this from the endpoint the client
submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds'
description: |-
Kind is a string value representing the REST resource this object represents.
Servers may infer this from the endpoint the client submits requests to.
Cannot be updated.
In CamelCase.
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
type: string
metadata:
type: object
Expand All @@ -50,8 +55,9 @@ spec:
description: Credentials required to authenticate to this provider.
properties:
env:
description: Env is a reference to an environment variable that
contains credentials that must be used to connect to the provider.
description: |-
Env is a reference to an environment variable that contains credentials
that must be used to connect to the provider.
properties:
name:
description: Name is the name of an environment variable.
Expand All @@ -60,8 +66,9 @@ spec:
- name
type: object
fs:
description: Fs is a reference to a filesystem location that contains
credentials that must be used to connect to the provider.
description: |-
Fs is a reference to a filesystem location that contains credentials that
must be used to connect to the provider.
properties:
path:
description: Path is a filesystem path.
Expand All @@ -70,8 +77,9 @@ spec:
- path
type: object
secretRef:
description: A SecretRef is a reference to a secret key that contains
the credentials that must be used to connect to the provider.
description: |-
A SecretRef is a reference to a secret key that contains the credentials
that must be used to connect to the provider.
properties:
key:
description: The key to select.
Expand Down Expand Up @@ -111,13 +119,15 @@ spec:
description: A Condition that may apply to a resource.
properties:
lastTransitionTime:
description: LastTransitionTime is the last time this condition
transitioned from one status to another.
description: |-
LastTransitionTime is the last time this condition transitioned from one
status to another.
format: date-time
type: string
message:
description: A Message containing details about this condition's
last transition from one status to another, if any.
description: |-
A Message containing details about this condition's last transition from
one status to another, if any.
type: string
reason:
description: A Reason for this condition's last transition from
Expand All @@ -128,8 +138,9 @@ spec:
False, or Unknown?
type: string
type:
description: Type of this condition. At most one of each condition
type may apply to a resource at any point in time.
description: |-
Type of this condition. At most one of each condition type may apply to
a resource at any point in time.
type: string
required:
- lastTransitionTime
Expand Down
37 changes: 22 additions & 15 deletions package/crds/scaleway.upbound.io_providerconfigusages.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.13.0
controller-gen.kubebuilder.io/version: v0.14.0
name: providerconfigusages.scaleway.upbound.io
spec:
group: scaleway.upbound.io
Expand Down Expand Up @@ -37,14 +37,19 @@ spec:
description: A ProviderConfigUsage indicates that a resource is using a ProviderConfig.
properties:
apiVersion:
description: 'APIVersion defines the versioned schema of this representation
of an object. Servers should convert recognized schemas to the latest
internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources'
description: |-
APIVersion defines the versioned schema of this representation of an object.
Servers should convert recognized schemas to the latest internal value, and
may reject unrecognized values.
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
type: string
kind:
description: 'Kind is a string value representing the REST resource this
object represents. Servers may infer this from the endpoint the client
submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds'
description: |-
Kind is a string value representing the REST resource this object represents.
Servers may infer this from the endpoint the client submits requests to.
Cannot be updated.
In CamelCase.
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
type: string
metadata:
type: object
Expand All @@ -59,19 +64,21 @@ spec:
properties:
resolution:
default: Required
description: Resolution specifies whether resolution of this reference
is required. The default is 'Required', which means the reconcile
will fail if the reference cannot be resolved. 'Optional' means
this reference will be a no-op if it cannot be resolved.
description: |-
Resolution specifies whether resolution of this reference is required.
The default is 'Required', which means the reconcile will fail if the
reference cannot be resolved. 'Optional' means this reference will be
a no-op if it cannot be resolved.
enum:
- Required
- Optional
type: string
resolve:
description: Resolve specifies when this reference should be resolved.
The default is 'IfNotPresent', which will attempt to resolve
the reference only when the corresponding field is not present.
Use 'Always' to resolve the reference on every reconcile.
description: |-
Resolve specifies when this reference should be resolved. The default
is 'IfNotPresent', which will attempt to resolve the reference only when
the corresponding field is not present. Use 'Always' to resolve the
reference on every reconcile.
enum:
- Always
- IfNotPresent
Expand Down
Loading