Add operator-sdk

This commit is contained in:
Ettore Di Giacinto 2022-10-07 20:55:27 +00:00
parent 22739e9033
commit d4da1221af
14 changed files with 25 additions and 0 deletions

View File

@ -0,0 +1,15 @@
requires:
- name: "toolchain-go"
category: "development"
version: ">=0"
prelude:
- mkdir go/src/github.com/${GITHUB_ORG}/ -p
- cd go/src/github.com/${GITHUB_ORG}/ && git clone https://github.com/${GITHUB_ORG}/{{ .Values.name }}.git
env:
- GOPATH=/luetbuild/go/
- GITHUB_ORG={{ ( index .Values.labels "github.owner" ) }}
- CGO_ENABLED=0
steps:
- cd go/src/github.com/${GITHUB_ORG}/{{ .Values.name }}/ && git checkout v"${PACKAGE_VERSION}" -b build && make build && mv build/* /usr/bin/
includes:
- usr/bin/.*|usr/bin

View File

@ -0,0 +1,10 @@
name: operator-sdk
category: utils
version: "1.23.0"
description: " SDK for building Kubernetes applications. Provides high level APIs, useful abstractions, and project scaffolding. "
labels:
github.repo: "operator-sdk"
github.owner: "operator-framework"
uri:
- https://github.com/operator-framework/operator-sdk
license: "Apache 2.0 License"