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

Fixes #243 - Add initial kustomize templates for this project #244

Draft
wants to merge 6 commits into
base: main
Choose a base branch
from

Conversation

jonespm
Copy link
Member

@jonespm jonespm commented Jul 13, 2022

This is still a draft. A few things I'd like to figure out

  • Test newer version of Kustomize and update README
  • Figure how to get ingress to work with webplatformsunpublished. Perhaps we can use the CRD for routes. Or perhaps we can use ingress with a static domain. Currently I have this commented out and manually created the route
  • Document/Improve how to include the properties file for secrets. It would be nice if these were all in one directory. Currently it's expecting the secrets folders in each of the overlays directories
  • Create Prod overlay

kustomize/README.md Outdated Show resolved Hide resolved
kustomize/README.md Outdated Show resolved Hide resolved
kustomize/README.md Outdated Show resolved Hide resolved
.gitignore Outdated Show resolved Hide resolved
jonespm added 2 commits July 22, 2022 13:23
Updating some hostnames
Switching secrets to secret
@jonespm jonespm requested a review from ssciolla July 22, 2022 17:58
@@ -0,0 +1,11 @@
- op: replace
path: /spec/template/spec/containers/0/image
value: docker-registry.default.svc:5000/canvas-app-explorer-test/canvas-app-explorer:latest
Copy link
Contributor

Choose a reason for hiding this comment

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

Would be nice to parameterize this if we plan to run this on all releases.

Copy link
Contributor

Choose a reason for hiding this comment

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

Or maybe it makes more sense to just update the value with the release tag on each release. I'm not sure.

kustomize/README.md Outdated Show resolved Hide resolved
kustomize/README.md Outdated Show resolved Hide resolved
@@ -0,0 +1,11 @@
- op: replace
path: /spec/template/spec/containers/0/image
value: docker-registry.default.svc:5000/canvas-app-explorer-test/canvas-app-explorer:latest
Copy link
Contributor

Choose a reason for hiding this comment

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

Or maybe it makes more sense to just update the value with the release tag on each release. I'm not sure.

Comment on lines +7 to +8
bases:
- ../../base
Copy link
Contributor

Choose a reason for hiding this comment

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

I'm not exactly sure how this would be done (since I don't know the kustomize YAML syntax well), but we probably want to omit the build config inherited from base in this overlay.

Comment on lines +1 to +4
# OpenShift configuration with Kustomize

Resource configuration and secret consumption for OpenShift projects are managed
using [`kustomize`](https://kubectl.docs.kubernetes.io/guides/introduction/kustomize/).
Copy link
Contributor

Choose a reason for hiding this comment

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

We could link to this file from the main README.

kustomize/base/web-autoscaler.yaml Show resolved Hide resolved
jonespm and others added 2 commits August 23, 2022 13:35
Co-authored-by: Sam Sciolla <[email protected]>
Co-authored-by: Sam Sciolla <[email protected]>
@jonespm jonespm marked this pull request as ready for review November 22, 2022 17:44
@jonespm jonespm marked this pull request as draft November 19, 2024 22:09
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