Skip to content

Installation Guide #6488

@PureRaidenCloud

Description

@PureRaidenCloud

What is the URL of the document?

https://v1-30-x.sdk.operatorframework.io/docs/building-operators/golang/installation/#additional-prerequisites

Which section(s) is the issue in?

image

What needs fixing?

Version of Go should be 1.19 instead of 1.18

Additional context

$ go version
go version go1.18.3 linux/amd64

$ operator-sdk version
operator-sdk version: "v1.30.0", commit: "b794fe909abc1affa1f28cfb75ceaf3bf79187e6", kubernetes version: "1.26.0", go version: "go1.19.10", GOOS: "linux", GOARCH: "amd64

$ operator-sdk init --domain example.com --repo github.com/example/memcached-operator
Error: failed to initialize project: unable to run pre-scaffold tasks of "base.go.kubebuilder.io/v3": go version 'go1.18.3' is incompatible because 'plugin requires go1.19 <= version < go2.0alpha1'. You can skip this check using the --skip-go-version-check flag

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind/documentationCategorizes issue or PR as related to documentation.

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions