-
Notifications
You must be signed in to change notification settings - Fork 639
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
Added helm values, templates, and readme #963
Conversation
Running CI checks against #954 now and enabled auto-merge on that PR. |
Cool, I will rebase against those changes and make sure all of my changes are compatible once that's been merged in. |
438dd7a
to
970c513
Compare
Added updates to the starter readme as well as the main readme. Rebased onto @bewing's branch that includes the update -n awx to the workflwo |
e3d543e
to
b9f2730
Compare
@@ -253,6 +253,8 @@ For an example using the Nginx Controller in Minukube, don't miss our [demo vide | |||
|
|||
For those that wish to use [Helm](https://helm.sh/) to install the awx-operator to an existing K8s cluster: | |||
|
|||
The helm chart is generated from the `helm-chart` Makefile section using the starter files in `.helm/starter`. Consult [the documentation](.helm/starter/README.md) on how to customize the AWX resource with your own values. |
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.
👍
The test output is hard to read, but search the raw output for "molecule test -s kind" and you'll see yamllint is failing. I can't even tell what file it's complaining about. Disabling colored output might help. If not, maybe try running it locally. 🤷 |
I'll take a look, also if #954's workflow works this time I can base my branch off of it directly to make sure it's as accurate as possible |
@shanemcd The yaml lint is taking issue with native helm syntax. There are two important pieces of syntax it disagrees with:
In terms of adding --- to the top of each file, it's not normal in helm, especially in Is it possible to ignore the yaml lint on the helm directory? Here is the test output I'm referring to: |
676f236
to
5ce9ea3
Compare
Ok in my branch I added
I hope this is enough testing and makes up for removing the other molecule tests - I think it makes sense to break them up fully because they are different uses of yaml. Let me know if you'd like me to add more tests. Also, here is the output of these tests in a mirror PR on my downstream fork |
Perhaps this could be useful to validate the chart? |
Yeah, we could also run yamllint against the template file, but I would argue that kubeval accomplishes and extends that functionality. The lines I have added look very similar to what you linked:
|
Cool, tests passed. @shanemcd would you be willing to merge the create namespace PR branch? |
@miles-w-3 Apologies for the delay, I had to prioritize some other stuff for a while. I've merged that PR. Once you fix the conflicts here we'll get this one in. Thanks for all your work. |
No problem, rebasing off of new devel now and will update the PR |
@shanemcd rebased off of devel, passed tests on my fork so should be ready to go. |
Roughly every 3 weeks but we dont have a schedule set in stone as sometimes we have to prioritize working on stuff for customers. A release went out just now but we can do another one ad-hoc for this if it would help you. The helm chart gets automatically published during the release process: awx-operator/.github/workflows/promote.yaml Lines 34 to 40 in 7697825
|
That would be great if you wouldn't mind, these changes would definitely be useful for me to implement/document for my team. Thanks for the info, I look forward to contributing more in the future |
@miles-w-3 Just pushed out 0.25.0 that includes your code. Thanks again! |
@miles-w-3, any idea when you might have time to create that ingress template you were talking about? ;)
|
Sure, I could get started on it next week. Any particular specs you're looking for? I'll probably make a pretty standard ingress spec with most of the fields (rules, path, https hosts) overridable |
Nothing particular, just the basics to give it a custom DNS 😄 |
@miles-w-3, not to push you, but let me know the PR you will create for that ingress, I like to see/follow the code to learn. |
Starting now, I will link the PR here |
Closes #960 by adding structure to the helm
values.yaml
. Added functionality to simplify linking to an external postgres module using a helm template. This creates a pattern that can be used to simplify other processes, like using a PVC for external storage.I would be happy to iterate on the helm values format or add additional functionality if there is interest. I also think that this should be merged after PR #954, and I can rebase the branch off of those changes once approved. This allows us to fully leverage the unified functionality of
$.Release.Namespace