Skip to content
This repository has been archived by the owner on Dec 9, 2022. It is now read-only.

Add secrets #6

Merged
merged 2 commits into from
Jan 16, 2018
Merged

Add secrets #6

merged 2 commits into from
Jan 16, 2018

Conversation

me
Copy link
Collaborator

@me me commented Jan 16, 2018

Allow passing secrets to the pod file with --secret option

@@ -1,3 +1,3 @@
package cli
//go:generate bash ./generate_version.sh
var PaddleVersion = "0.3.1"
var PaddleVersion = "0.4.7"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why such a jump?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good question! To test it I use goreleaser (since Jenkins will automatically download the latest release on Github), so every tested version results in a bump. Not ideal, but works. Ideally we would change it to support pre-releases.

@@ -106,8 +108,14 @@ func Watch(ctx context.Context, c kubernetes.Interface, watchPod *v1.Pod) (<-cha
select {
case <-time.After(watchPollInterval):
pod, err := c.CoreV1().Pods(watchPod.Namespace).Get(watchPod.Name, metav1.GetOptions{})
if err != nil {
if pod != nil {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this is the recent pod status bug we encountered?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yup! You're right, it should have lived in a different PR but here it is :)

@humzashah
Copy link
Contributor

Changes to add to the README are piling up. :)

@me
Copy link
Collaborator Author

me commented Jan 16, 2018

Who needs a README when you have paddle --help :)

@humzashah
Copy link
Contributor

Who needs a README when you have paddle --help :)

ah, right!

@me me merged commit b6d6915 into master Jan 16, 2018
@me me deleted the add-secrets branch January 16, 2018 22:01
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants