Skip to content

Conversation

hongchaodeng
Copy link
Contributor

@hongchaodeng hongchaodeng commented Feb 22, 2018

ref: #45

@hongchaodeng
Copy link
Contributor Author

hongchaodeng commented Feb 22, 2018

Generated main.go:

package main

import (
	"context"

	sdk "github.com/coreos/operator-sdk/pkg/sdk"
	stub "github.com/coreos/memcached-operator/pkg/stub"
)

func main() {
	namespace := "default"
	sdk.Watch("apps/v1", "Deployment", namespace)
 	sdk.Handle(&stub.Handler{})
 	sdk.Run(context.TODO())
}

@hongchaodeng
Copy link
Contributor Author

@hasbro17 @fanminshi

@hasbro17
Copy link
Contributor

LGTM

@fanminshi
Copy link
Contributor

let's go with this approach. lgtm

@hongchaodeng hongchaodeng merged commit 544a28c into operator-framework:master Feb 22, 2018
@hongchaodeng hongchaodeng deleted the f branch February 22, 2018 22:10
jmrodri added a commit that referenced this pull request Feb 17, 2022
Additions:

- chore: bump go 1.17, k8s 1.23, and kubebuilder 3.3 (#69)
- chore(deps): update to Quarkus SDK extension 3.0.2 and Quarkus 2.6.3 (#70)
- chore(deps): update to use Quarkus JOSDK extension 3.0.1 (#67)
- Remove useless file (#65)
- chore: bump k8s 1.22.2 and kubebuilder 3.2 (#64)
- exposed exnpoints for micrometer metrics (#45)
- modified the Quarkus operator SDK version and tutorial too (#40)
- chore: bump fabric8 5.8.0 & quarkus 2.4.0 (#42)
- modified the doc file and removed file after generation (#41)
- release: fix release script to understand release branches (#38)

Bug Fixes:

- Fix for wrongly generated file name (#73)

Signed-off-by: jesus m. rodriguez <jesusr@redhat.com>
m1kola pushed a commit to m1kola/operator-sdk that referenced this pull request Jun 7, 2024
Bug 1793310: internal/scaffold: don't change /etc/passwd perms [release-4.4]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants