Upstream paperless components#91
Conversation
sdwilsh
left a comment
There was a problem hiding this comment.
I want to see better docs on this; the mosquitto stuff should be our standard, IMO. I've even found it useful as I've gone back to figure out how it was supposed to work.
I'd also like to see tests written. https://github.com/marinatedconcrete/config/tree/main/kustomization/tests/mosquitto is a good starting point. That test only makes sure things apply, which is what I'd like to see here. Our current build setups don't actually make sure we're using valid resources, just that all things exists.
| @@ -0,0 +1,51 @@ | |||
| # Where incoming raw scans should go | |||
There was a problem hiding this comment.
I have a slight preference to have these on the StatefulSet so they are easier to patch (either delete them for your existing installation, or to modify them for the tests)
There was a problem hiding this comment.
Do you mean putting the PVC definitions into the stateful set yaml?
There was a problem hiding this comment.
Yeah, in the StatefulSet means for you to integrate, you'd need to patch out the four PVCs in a single patch and add the volume mounts, while using your existing resources that contain the PVCs. ArgoCD doesn't appear to draw the connection in the one deployment I have to a PVC like it does with StatefulSet, which is a little disappointing, so I'm likely to have to have four different patches, for each PVC, and a patch to add it to the StatefulSet as well as remapping names to get the desired argo behavior.
91bf455 to
9932537
Compare
| metadata: | ||
| name: samba | ||
| spec: | ||
| revisionHistoryLimit: 4 |
There was a problem hiding this comment.
aside: we should maybe add this to all our stuff; I don't think we're consistent.
There was a problem hiding this comment.
Another feature request for common patches...maybe we can reference patches by urls, like with components?
7c872b7 to
971353c
Compare
…g to v1 ##### [\`1.0.0\`](https://github.com/marinatedconcrete/config/releases/tag/v1.0.0) Let's see what happens #### What's Changed - Set up usb builds with earthly (maybe) by [@robarnold](https://github.com/robarnold) in [#1](marinatedconcrete/config#1) - Use earthly actions for valiation/lint by [@robarnold](https://github.com/robarnold) in [#2](marinatedconcrete/config#2) - Fix the way we pass the registry to the docker CLI by [@robarnold](https://github.com/robarnold) in [#3](marinatedconcrete/config#3) - Use the right user for the container registry by [@robarnold](https://github.com/robarnold) in [#4](marinatedconcrete/config#4) - Try to get the usb image published by [@robarnold](https://github.com/robarnold) in [#5](marinatedconcrete/config#5) - Try using the repo prefix for the image name by [@robarnold](https://github.com/robarnold) in [#6](marinatedconcrete/config#6) - Try explicitly adding the push to SAVE IMAGE by [@robarnold](https://github.com/robarnold) in [#7](marinatedconcrete/config#7) - Try explicitly using ghcr.io by [@robarnold](https://github.com/robarnold) in [#8](marinatedconcrete/config#8) - Add config for regex in `Earthfile`s by [@sdwilsh](https://github.com/sdwilsh) in [#9](marinatedconcrete/config#9) - Migrate renovate config by [@renovate](https://github.com/renovate) in [#13](marinatedconcrete/config#13) - Update actions/checkout action to v4 by [@renovate](https://github.com/renovate) in [#11](marinatedconcrete/config#11) - Update renovate/renovate Docker tag to v37 by [@renovate](https://github.com/renovate) in [#14](marinatedconcrete/config#14) - Roll back earthly/actions-setup action to v1.0.8 by [@renovate](https://github.com/renovate) in [#10](marinatedconcrete/config#10) - Refactor images to allow for more images with organization by [@sdwilsh](https://github.com/sdwilsh) in [#15](marinatedconcrete/config#15) - Add a custom Kairos image by [@sdwilsh](https://github.com/sdwilsh) in [#16](marinatedconcrete/config#16) - Update docker/login-action action to v3 by [@renovate](https://github.com/renovate) in [#17](marinatedconcrete/config#17) - Update docker/setup-qemu-action action to v3 by [@renovate](https://github.com/renovate) in [#18](marinatedconcrete/config#18) - Always try to push, but rely on Earthly to not push unless it is not a pull request by [@sdwilsh](https://github.com/sdwilsh) in [#19](marinatedconcrete/config#19) - Add zsh and usbutils to install list by [@robarnold](https://github.com/robarnold) in [#21](marinatedconcrete/config#21) - Update quay.io/kairos/core-ubuntu-22-lts Docker tag to v2.4.1 by [@renovate](https://github.com/renovate) in [#23](marinatedconcrete/config#23) - Update Yarn to v3.6.4 by [@renovate](https://github.com/renovate) in [#25](marinatedconcrete/config#25) - Update earthly/earthly Docker tag to v0.7.20 by [@renovate](https://github.com/renovate) in [#26](marinatedconcrete/config#26) - Set up role for zsh by [@robarnold](https://github.com/robarnold) in [#22](marinatedconcrete/config#22) - Add shellcheck to lint by [@robarnold](https://github.com/robarnold) in [#28](marinatedconcrete/config#28) - Add Operator Lifecycle Manager by [@sdwilsh](https://github.com/sdwilsh) in [#30](marinatedconcrete/config#30) - only build usb image for pull requests and on master when relevant files change by [@sdwilsh](https://github.com/sdwilsh) in [#31](marinatedconcrete/config#31) - Ensure that prettier lints all files in the repo by [@robarnold](https://github.com/robarnold) in [#35](marinatedconcrete/config#35) - Try to build a zsh bundle by [@robarnold](https://github.com/robarnold) in [#34](marinatedconcrete/config#34) - Update earthly/earthly Docker tag to v0.7.20 by [@renovate](https://github.com/renovate) in [#36](marinatedconcrete/config#36) - Fix lack of tag passed to zsh builds by [@robarnold](https://github.com/robarnold) in [#37](marinatedconcrete/config#37) - Add docs for zsh role by [@robarnold](https://github.com/robarnold) in [#38](marinatedconcrete/config#38) - Fix permissions on run script by [@robarnold](https://github.com/robarnold) in [#40](marinatedconcrete/config#40) - Rebuild the zsh bundle whenever any of the zsh ansible role files change by [@robarnold](https://github.com/robarnold) in [#41](marinatedconcrete/config#41) - Push an image of the kairos-zsh-bundle on PR by [@robarnold](https://github.com/robarnold) in [#42](marinatedconcrete/config#42) - Roll back actions/checkout action to v4.1.1 by [@renovate](https://github.com/renovate) in [#48](marinatedconcrete/config#48) - Update registry.k8s.io/kustomize/kustomize Docker tag to v5.2.1 by [@renovate](https://github.com/renovate) in [#49](marinatedconcrete/config#49) - Update Yarn to v4 by [@renovate](https://github.com/renovate) in [#51](marinatedconcrete/config#51) - Introduce the kubevirt component by [@robarnold](https://github.com/robarnold) in [#39](marinatedconcrete/config#39) - Use glob for installation script by [@robarnold](https://github.com/robarnold) in [#45](marinatedconcrete/config#45) - Use Earthly satellites for faster CI builds by [@robarnold](https://github.com/robarnold) in [#52](marinatedconcrete/config#52) - Enable automerge for prettier/yarn (fixes [#29](marinatedconcrete/config#29)) by [@robarnold](https://github.com/robarnold) in [#53](marinatedconcrete/config#53) - Update earthly/earthly Docker tag to v0.7.21 by [@renovate](https://github.com/renovate) in [#65](marinatedconcrete/config#65) - Update Yarn to v4.0.1 by [@renovate](https://github.com/renovate) in [#66](marinatedconcrete/config#66) - Generate a feature to install ansible and run a playbook by [@robarnold](https://github.com/robarnold) in [#67](marinatedconcrete/config#67) - Try adding a test and include the pip requirements by [@robarnold](https://github.com/robarnold) in [#69](marinatedconcrete/config#69) - Update actions/checkout action to v4 by [@renovate](https://github.com/renovate) in [#68](marinatedconcrete/config#68) - Bump dev container feature version by [@robarnold](https://github.com/robarnold) in [#70](marinatedconcrete/config#70) - Run the playbook and ansible galaxy commands as part of the repo by [@robarnold](https://github.com/robarnold) in [#71](marinatedconcrete/config#71) - Back out lifecycle script - does not seem like the right approach by [@robarnold](https://github.com/robarnold) in [#72](marinatedconcrete/config#72) - Add initial devcontainer definition by [@robarnold](https://github.com/robarnold) in [#73](marinatedconcrete/config#73) - Add option to write corrected prettier output back to repo by [@robarnold](https://github.com/robarnold) in [#64](marinatedconcrete/config#64) - Add Mosquitto Kustomize Component by [@sdwilsh](https://github.com/sdwilsh) in [#74](marinatedconcrete/config#74) - Support GPG Signing of Commits by [@sdwilsh](https://github.com/sdwilsh) in [#76](marinatedconcrete/config#76) - Support preserving Earthly configuration by [@sdwilsh](https://github.com/sdwilsh) in [#77](marinatedconcrete/config#77) - Update dependency ansible to v8.6.1 by [@renovate](https://github.com/renovate) in [#78](marinatedconcrete/config#78) - Update dependency prettier to v3.1.0 by [@renovate](https://github.com/renovate) in [#79](marinatedconcrete/config#79) - Update Yarn to v4.0.2 by [@renovate](https://github.com/renovate) in [#80](marinatedconcrete/config#80) - Update earthly/earthly Docker tag to v0.7.22 by [@renovate](https://github.com/renovate) in [#82](marinatedconcrete/config#82) - Add a basic test for mosquitto kustomization by [@sdwilsh](https://github.com/sdwilsh) in [#83](marinatedconcrete/config#83) - Update earthly/earthly Docker tag to v0.7.22 by [@renovate](https://github.com/renovate) in [#85](marinatedconcrete/config#85) - Update dependency ansible to v9 by [@renovate](https://github.com/renovate) in [#81](marinatedconcrete/config#81) - Update dependency ansible to v9.1.0 by [@renovate](https://github.com/renovate) in [#88](marinatedconcrete/config#88) - Update dependency prettier to v3.1.1 by [@renovate](https://github.com/renovate) in [#89](marinatedconcrete/config#89) - Update earthly/earthly Docker tag to v0.7.23 by [@renovate](https://github.com/renovate) in [#90](marinatedconcrete/config#90) - Version the earthly version used in the validation flow by [@robarnold](https://github.com/robarnold) in [#93](marinatedconcrete/config#93) - Revert "Update earthly/earthly Docker tag to v0.7.23 ([#90](marinatedconcrete/config#90))" by [@robarnold](https://github.com/robarnold) in [#95](marinatedconcrete/config#95) - Upstream kube-vip from sdwilsh by [@robarnold](https://github.com/robarnold) in [#92](marinatedconcrete/config#92) - Ensure prettier formatting exits non-zero on failure by [@robarnold](https://github.com/robarnold) in [#97](marinatedconcrete/config#97) - Add image for the silabs firmware flasher by [@robarnold](https://github.com/robarnold) in [#96](marinatedconcrete/config#96) - Update dependency universal-silabs-flasher to v0.0.16 by [@renovate](https://github.com/renovate) in [#99](marinatedconcrete/config#99) - Explicitly tag Python with docker versioning by [@robarnold](https://github.com/robarnold) in [#98](marinatedconcrete/config#98) - Add more ansible files to the kustomize test paths by [@robarnold](https://github.com/robarnold) in [#100](marinatedconcrete/config#100) - Update python Docker tag to v3.12.1 by [@renovate](https://github.com/renovate) in [#86](marinatedconcrete/config#86) - Upstream paperless components by [@robarnold](https://github.com/robarnold) in [#91](marinatedconcrete/config#91) - Update dependency kubernetes to v29 by [@renovate](https://github.com/renovate) in [#103](marinatedconcrete/config#103) - Update dependency prettier to v3.2.0 by [@renovate](https://github.com/renovate) in [#105](marinatedconcrete/config#105) - Update dependency prettier to v3.2.1 by [@renovate](https://github.com/renovate) in [#106](marinatedconcrete/config#106) - Update dependency prettier to v3.2.2 by [@renovate](https://github.com/renovate) in [#107](marinatedconcrete/config#107) - Update kairos builds by [@robarnold](https://github.com/robarnold) in [#108](marinatedconcrete/config#108) - Fix kairos dep in image build script by [@robarnold](https://github.com/robarnold) in [#110](marinatedconcrete/config#110) - Update dependency universal-silabs-flasher to v0.0.17 by [@renovate](https://github.com/renovate) in [#112](marinatedconcrete/config#112) - Update redis Docker tag to v7.2.4 by [@renovate](https://github.com/renovate) in [#104](marinatedconcrete/config#104) - Update earthly/actions-setup action to v1.0.9 by [@renovate](https://github.com/renovate) in [#114](marinatedconcrete/config#114) - Update Yarn to v4.1.0 by [@renovate](https://github.com/renovate) in [#115](marinatedconcrete/config#115) - Update ghcr.io/paperless-ngx/paperless-ngx Docker tag to v2.4.3 by [@renovate](https://github.com/renovate) in [#101](marinatedconcrete/config#101) - Update dependency prettier to v3.2.5 by [@renovate](https://github.com/renovate) in [#111](marinatedconcrete/config#111) - Update dependency ansible to v9.2.0 by [@renovate](https://github.com/renovate) in [#116](marinatedconcrete/config#116) - Put the image metadata into the OS release by [@robarnold](https://github.com/robarnold) in [#122](marinatedconcrete/config#122) - Update dependency universal-silabs-flasher to v0.0.19 by [@renovate](https://github.com/renovate) in [#118](marinatedconcrete/config#118) - Update earthly/earthly Docker tag to v0.8.4 by [@renovate](https://github.com/renovate) in [#94](marinatedconcrete/config#94) - Update earthly/actions-setup action to v1.0.10 by [@renovate](https://github.com/renovate) in [#123](marinatedconcrete/config#123) - Update dependency ansible to v9.3.0 by [@renovate](https://github.com/renovate) in [#124](marinatedconcrete/config#124) - Update Yarn to v4.1.1 by [@renovate](https://github.com/renovate) in [#125](marinatedconcrete/config#125) - Update earthly/earthly Docker tag to v0.8.5 by [@renovate](https://github.com/renovate) in [#129](marinatedconcrete/config#129) - Add htop to the custom image by [@robarnold](https://github.com/robarnold) in [#128](marinatedconcrete/config#128) - Update earthly/actions-setup action to v1.0.11 by [@renovate](https://github.com/renovate) in [#131](marinatedconcrete/config#131) - Update earthly/earthly Docker tag to v0.8.6 by [@renovate](https://github.com/renovate) in [#132](marinatedconcrete/config#132) - Update koalaman/shellcheck-alpine Docker tag to v0.10.0 by [@renovate](https://github.com/renovate) in [#127](marinatedconcrete/config#127) - Update ghcr.io/kube-vip/kube-vip Docker tag to v0.7.2 by [@renovate](https://github.com/renovate) in [#119](marinatedconcrete/config#119) - Add a PriorityClass Component by [@sdwilsh](https://github.com/sdwilsh) in [#133](marinatedconcrete/config#133) - Tell vscode to use prettier to autoformat yaml and js by [@sdwilsh](https://github.com/sdwilsh) in [#135](marinatedconcrete/config#135) - Update dependency ansible to v9.4.0 by [@renovate](https://github.com/renovate) in [#136](marinatedconcrete/config#136) - Update earthly/actions-setup action to v1.0.12 by [@renovate](https://github.com/renovate) in [#137](marinatedconcrete/config#137) - Update earthly/earthly Docker tag to v0.8.7 by [@renovate](https://github.com/renovate) in [#138](marinatedconcrete/config#138) - Update earthly/actions-setup action to v1.0.13 by [@renovate](https://github.com/renovate) in [#141](marinatedconcrete/config#141) - Update actions/checkout action to v4.1.4 by [@renovate](https://github.com/renovate) in [#143](marinatedconcrete/config#143) - Update Yarn to v4.2.1 by [@renovate](https://github.com/renovate) in [#144](marinatedconcrete/config#144) - Enable renovate to automerge all patch level updates by [@robarnold](https://github.com/robarnold) in [#145](marinatedconcrete/config#145) - Update earthly/earthly Docker tag to v0.8.9 by [@renovate](https://github.com/renovate) in [#139](marinatedconcrete/config#139) - Update python Docker tag to v3.12.3 by [@renovate](https://github.com/renovate) in [#120](marinatedconcrete/config#120) - Update devcontainers/action action to v1.4.2 by [@renovate](https://github.com/renovate) in [#113](marinatedconcrete/config#113) - Update actions/checkout action to v4.1.5 by [@renovate](https://github.com/renovate) in [#149](marinatedconcrete/config#149) - Update Yarn to v4.2.2 by [@renovate](https://github.com/renovate) in [#150](marinatedconcrete/config#150) - Update dependency ansible to v9.5.1 by [@renovate](https://github.com/renovate) in [#147](marinatedconcrete/config#147) - Add a new Unifi Network Application Component by [@sdwilsh](https://github.com/sdwilsh) in [#134](marinatedconcrete/config#134) - Update dependency kairos-io/kairos to v3 by [@renovate](https://github.com/renovate) in [#126](marinatedconcrete/config#126) - Add CoralTPU definition for generic-device-plugin by [@robarnold](https://github.com/robarnold) in [#152](marinatedconcrete/config#152) - Set priority for paperless by [@robarnold](https://github.com/robarnold) in [#151](marinatedconcrete/config#151) - Update actions/checkout action to v4.1.6 by [@renovate](https://github.com/renovate) in [#153](marinatedconcrete/config#153) - Update earthly/earthly Docker tag to v0.8.11 by [@renovate](https://github.com/renovate) in [#154](marinatedconcrete/config#154) - Update lscr.io/linuxserver/unifi-network-application Docker tag to v8.1.127 by [@renovate](https://github.com/renovate) in [#156](marinatedconcrete/config#156) - Update mongo Docker tag to v7.0.9 by [@renovate](https://github.com/renovate) in [#157](marinatedconcrete/config#157) - Run some workflows on release by [@robarnold](https://github.com/robarnold) in [#158](marinatedconcrete/config#158) #### New Contributors - [@sdwilsh](https://github.com/sdwilsh) made their first contribution in [#9](marinatedconcrete/config#9) - [@renovate](https://github.com/renovate) made their first contribution in [#13](marinatedconcrete/config#13) **Full Changelog**: <https://github.com/marinatedconcrete/config/commits/v1.0.0>
This is a start for sharing paperless between repos. Closes #58.