-
Notifications
You must be signed in to change notification settings - Fork 566
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Implement GitHub repository bootstrap #31
Conversation
a6306bc
to
1bc637a
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nitpick comment, I had a couple more of them but I think we have a mutual understanding that we will improve those things once we start drafting solid packages. LGTM 🥇
}, | ||
} | ||
|
||
if sourceGitSemver != "" { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
NI / nitpick: I would have made this a switch
.
@@ -287,7 +291,7 @@ func upsertSecret(ctx context.Context, kubeClient client.Client, secret corev1.S | |||
err := kubeClient.Get(ctx, namespacedName, &existing) | |||
if err != nil { | |||
if errors.IsNotFound(err) { | |||
if err := kubeClient.Create(ctx, &existing); err != nil { | |||
if err := kubeClient.Create(ctx, &secret); err != nil { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🎣 💯
docs: Sync specification with API
Fix: #30
Install:
No-op upgrade: