-
Notifications
You must be signed in to change notification settings - Fork 93
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
Conversation
@@ -20,7 +20,7 @@ spec: | |||
constraints: | |||
notNull: true | |||
- name: updated_at | |||
type: integer | |||
type: timestamp |
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.
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.
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.
@divolgin ... thoughts on this?
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.
1st reference: mattn/go-sqlite3#748 (comment)
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.
2nd reference: mattn/go-sqlite3#190 (comment)
} | ||
|
||
return 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.
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() { |
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.
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)
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.