SDK for building Kubernetes applications. Provides high level APIs, useful abstractions, and project scaffolding.
APACHE-2.0 License
Bot releases are hidden (Show)
Published by AlexNPavel over 5 years ago
--header-file
for commands operator-sdk generate k8s
and operator-sdk add api
to supply a boilerplate header file for generated code. (#1239)namespace-manifest
flag in scorecard subcommand to namespaced-manifest
to match other subcommandsoperator-sdk generate
are now verbose by default. (#1271)operator-sdk olm-catalog gen-csv
parses Custom Resource manifests from deploy/crds
or a custom path specified in csv-config.yaml
, encodes them in a JSON array, and sets the CSV's metadata.annotations.alm-examples
field to that JSON. (#1116)operator-sdk new --type=helm
to fail for charts that have template files in nested template directories. (#1235)operator-sdk test
and operator-sdk scorecard
that could result in a panic if a manifest file started with ---
(#1258)Note: See how to upgrade your project to the version v0.7+ by checking the Version Upgrade Guide
Published by theishshah over 5 years ago
operator-sdk new --type=helm
, which can be used to populate the project with an existing chart. (#949)operator-sdk olm-catalog
flag --update-crds
optionally copies CRD's from deploy/crds
when creating a new CSV or updating an existing CSV, and --from-version
uses another versioned CSV manifest as a base for a new CSV version. (#1016)--olm-deployed
to direct the scorecard
command to only use the CSV at --csv-path
for manifest data, except for those provided to --cr-manifest
. (#1044)registry.access.redhat.com/ubi7-dev-preview/ubi-minimal:7.6
(#1142)operator-registry
manifest format. See issue #900 for more details. (#1016)CleanupNoT
function from pkg/test
, as it is only intended to be used internally (#1167)operator-sdk test local --up-local
would sometimes leave a running process in the background after exit (#1089)Note: See how to upgrade your project to the version v0.6+ by checking the Version Upgrade Guide
Published by theishshah over 5 years ago
1.13.1
(#1020)v0.1.10
. See the controller-runtime v0.1.10
release notes for new features and bug fixes. (#1020)metricsPort
variable. #786
operator-sdk olm-catalog
to be used as a parent for SDK subcommands generating code related to Operator Lifecycle Manager (OLM) Catalog integration, and subcommand operator-sdk olm-catalog gen-csv
which generates a Cluster Service Version for an operator so the OLM can deploy the operator in a cluster. (#673)POD_NAME
to your operator's Deployment using the Kubernetes downward API. To see an example, run operator-sdk new --type=helm ...
and see file deploy/operator.yaml
. #1000
operator-sdk generate openapi
which generates OpenAPIv3 validation specs in Go and in CRD manifests as YAML. (#869)operator-sdk add api
command now generates OpenAPIv3 validation specs in Go for that API, and in all CRD manifests as YAML.spec
field now contains the default values.yaml from the generated chart. (#967)Note: See how to upgrade your project to the version v0.5+ by checking the Version Upgrade Guide
Published by AlexNPavel over 5 years ago
up local
subcommand respect KUBECONFIG
env var (#996)up local
subcommand use default namespace set in kubeconfig instead of hardcoded default
and also add ability to watch all namespaces for ansible and helm type operators (#996)Note: See how to upgrade your project to the version v0.4+ by checking the Version Upgrade Guide
Published by AlexNPavel over 5 years ago
operator-sdk migrate
which adds a main.go source file and any associated source files for an operator that is not of the "go" type. (#887 and #897)operator-sdk run ansible
and operator-sdk run helm
which run the SDK as ansible and helm operator processes, respectively. These are intended to be used when running in a Pod inside a cluster. Developers wanting to run their operator locally should continue to use up local
. (#887 and #897)POD_NAME
to your operator's Deployment using the Kubernetes downward API. To see an example, run operator-sdk new --type=ansible ...
and see file deploy/operator.yaml
.Note: See how to upgrade your project to the version v0.4+ by checking the Version Upgrade Guide
Published by estroz almost 6 years ago
v1.11.2
to v1.12.3
. (#807)v0.1.4
to v0.1.8
. See the v0.1.8
release notes for details.Note: See how to upgrade your project to the version v0.3+ by checking the Version Upgrade Guide
Published by AlexNPavel almost 6 years ago
Note: See how to upgrade your project to the version v0.2+ by checking the Version Upgrade Guide
Published by AlexNPavel almost 6 years ago
operator-sdk print-deps
which prints Golang packages and versions expected by the current Operator SDK version. Supplying --as-file
prints packages and versions in Gopkg.toml format. (#772)up-local
flag to test local
subcommand (#781)no-setup
flag to test local
subcommand (#770)image
flag to test local
subcommand (#768)Note: See how to upgrade your project to the version v0.2+ by checking the Version Upgrade Guide
Published by hasbro17 almost 6 years ago
v0.1.0
Published by AlexNPavel about 6 years ago
Published by AlexNPavel about 6 years ago
operator-sdk up
command to help deploy an operator. Currently supports running an operator locally against an existing cluster e.g operator-sdk up local --kubeconfig=<path-to-kubeconfig> --namespace=<operator-namespace>
. See operator-sdk up -h
for help. #219 #274
pkg/sdk
have been combined into a single package. action
, handler
, informer
types
and query
pkgs have been consolidated into pkg/sdk
. #242
k8sclient.GetKubeClient()
#295gcr.io/coreos-k8s-scale-testing/codegen:1.9.3
#319
k8sclient.GetKubeConfig()
#338time.Duration
instead of int
for sdk.Watch
#427
Published by hasbro17 over 6 years ago
coreos
to the operator-framework
orgPublished by hasbro17 over 6 years ago
Published by hasbro17 over 6 years ago
Published by hasbro17 over 6 years ago
Published by hasbro17 over 6 years ago