Skip to content
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

deploy app using kots run (first pass) #2110

Merged
merged 2 commits into from
Aug 24, 2021
Merged

Conversation

sgalsaleh
Copy link
Member

@sgalsaleh sgalsaleh commented Aug 24, 2021

outstanding issues:

1- containerd doesn’t run because it can’t find runc in PATH
2- antrea falls back to using the in-cluster config. we need to point to the right kubeconfig file to use instead.

@@ -20,7 +20,7 @@ spec:
constraints:
notNull: true
- name: updated_at
type: integer
type: timestamp
Copy link
Member Author

@sgalsaleh sgalsaleh Aug 24, 2021

Choose a reason for hiding this comment

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

these were failing to be converted to time.Time in go. sqlite had a workaround for this by using the timestamp column type which will handle it internally.

Copy link
Member

Choose a reason for hiding this comment

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

@divolgin ... thoughts on this?

Copy link
Member Author

Choose a reason for hiding this comment

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

Copy link
Member Author

Choose a reason for hiding this comment

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

}

return nil
Copy link
Member Author

Choose a reason for hiding this comment

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

this resulted in only having the first yaml document to be applied

@@ -160,6 +161,11 @@ func UpdateKotsadmIDConfigMap(kotsadmID string) error {
}

func FindKotsadm(clientset *kubernetes.Clientset, namespace string) (string, error) {
if persistence.IsSQlite() {
Copy link
Member Author

Choose a reason for hiding this comment

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

TODO: need to have a separate function for detecting the kots run workflow so that this isn't confusing (applies to other occurrences as well)

@sgalsaleh sgalsaleh changed the title deploy app using kots run deploy app using kots run (first pass) Aug 24, 2021
@sgalsaleh sgalsaleh merged commit d0cef6e into master Aug 24, 2021
@sgalsaleh sgalsaleh deleted the deploy-app-using-kots-run branch August 24, 2021 15:43
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