-
Notifications
You must be signed in to change notification settings - Fork 0
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
Feature/add nix #26
Feature/add nix #26
Conversation
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.
Thanks for setting this up, just some EOF line formatting things github marked
k8s/base/deploy-static.yaml
Outdated
optional: false | ||
- secretRef: | ||
name: env | ||
optional: false |
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.
don't exactly know what these are, but remembered Matt told me to fix them one time
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.
yeah, newline at end of file as defined by the POSIX standard. See SO answer for explanation: https://stackoverflow.com/a/729795
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.
Looks good to me. Maybe just fix the EOF newlines
apiVersion: skaffold/v4beta10 | ||
kind: Config | ||
metadata: | ||
name: app-image |
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.
You don't really need to separate out the build
spec into a separate module. It could be merged into the app
module. The reason I did it for the obs-portal, because I wanted to be able to use just that bit from another remote skaffold module.
I put instructions in the readme with steps that should be able to get you running locally for development. I have a set of secrets.env that I can share through slack or something to connect to the dev S3 bucket I created and to the production obs portal as a client app for user login.
My thoughts were we would connect to production archive/obs portal for accounts and to get the latest images to work with since dev archive doesn't have images added to it regularly. But the S3 bucket is a dev bucket, and nothing should be writing to the obs portal or archive so it should be relatively safe. The caveat is right now an archive api token is needed, but users can just use their own which will have permissions to see whatever files they can see in their accounts when they login, which should be fine for local testing.