This PR contains the following updates: | Package | Update | Change | |---|---|---| | [ghcr.io/goofball222/unifi](https://redirect.github.com/goofball222/unifi) | minor | `04d51ea` -> `006c93f` | --- > [!WARNING] > Some dependencies could not be looked up. Check the Dependency Dashboard for more information. Add the preset `:preserveSemverRanges` to your config if you don't want to pin your dependencies. --- ### Release Notes <details> <summary>goofball222/unifi (ghcr.io/goofball222/unifi)</summary> ### [`v9.5.21`](https://redirect.github.com/goofball222/unifi/releases/tag/9.5.21) [Compare Source](https://redirect.github.com/goofball222/unifi/compare/9.4.19...9.5.21) #### What's Changed - UniFi Network Application v9.5.21 - <https://community.ui.com/releases/UniFi-Network-Application-9-5-21/92266721-6758-4f33-b3bc-9d8b66f3c96e> - Bump hadolint/hadolint-action from 3.1.0 to 3.2.0 by [@​dependabot](https://redirect.github.com/dependabot)\[bot] in [#​152](https://redirect.github.com/goofball222/unifi/pull/152) - Bump actions/stale from 9 to 10 by [@​dependabot](https://redirect.github.com/dependabot)\[bot] in [#​153](https://redirect.github.com/goofball222/unifi/pull/153) - Bump hadolint/hadolint-action from 3.2.0 to 3.3.0 by [@​dependabot](https://redirect.github.com/dependabot)\[bot] in [#​154](https://redirect.github.com/goofball222/unifi/pull/154) - Bump peter-evans/dockerhub-description from 4 to 5 by [@​dependabot](https://redirect.github.com/dependabot)\[bot] in [#​155](https://redirect.github.com/goofball222/unifi/pull/155) - Bump github/codeql-action from 3 to 4 by [@​dependabot](https://redirect.github.com/dependabot)\[bot] in [#​156](https://redirect.github.com/goofball222/unifi/pull/156) **Full Changelog**: <https://github.com/goofball222/unifi/compare/9.4.19...9.5.21> </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Enabled. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Renovate Bot](https://redirect.github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0MS44Mi4xMCIsInVwZGF0ZWRJblZlciI6IjQxLjgyLjEwIiwidGFyZ2V0QnJhbmNoIjoibWFzdGVyIiwibGFiZWxzIjpbImF1dG9tZXJnZSIsInJlbm92YXRlL2NvbnRhaW5lciIsInR5cGUvbWlub3IiXX0=-->
109 lines
2.6 KiB
YAML
109 lines
2.6 KiB
YAML
image:
|
|
repository: ghcr.io/goofball222/unifi
|
|
tag: 9.5.21@sha256:006c93fb86ba423e4702e8689211195fb9d3323afa758ef6cc808409d67a8023
|
|
pullPolicy: IfNotPresent
|
|
service:
|
|
main:
|
|
ports:
|
|
main:
|
|
protocol: https
|
|
port: 8443
|
|
targetPort: 8443
|
|
comm:
|
|
enabled: true
|
|
ports:
|
|
comm:
|
|
enabled: true
|
|
port: 8080
|
|
targetPort: 8080
|
|
stun:
|
|
enabled: true
|
|
ports:
|
|
stun:
|
|
enabled: true
|
|
port: 3478
|
|
targetPort: 3478
|
|
protocol: udp
|
|
speedtest:
|
|
enabled: true
|
|
ports:
|
|
speedtest:
|
|
enabled: true
|
|
port: 6789
|
|
targetPort: 6789
|
|
guestportal:
|
|
enabled: true
|
|
ports:
|
|
web:
|
|
enabled: true
|
|
port: 8880
|
|
targetPort: 8880
|
|
protocol: http
|
|
websecure:
|
|
enabled: true
|
|
port: 8843
|
|
targetPort: 8843
|
|
protocol: https
|
|
persistence:
|
|
config:
|
|
enabled: true
|
|
targetSelector:
|
|
main:
|
|
main:
|
|
mountPath: /usr/lib/unifi/olddata
|
|
migrate:
|
|
mountPath: /usr/lib/unifi/olddata
|
|
data:
|
|
enabled: true
|
|
targetSelector:
|
|
main:
|
|
main:
|
|
mountPath: /usr/lib/unifi/data
|
|
migrate:
|
|
mountPath: /usr/lib/unifi/data
|
|
logs:
|
|
enabled: true
|
|
mountPath: "/usr/lib/unifi/logs"
|
|
type: "emptyDir"
|
|
certs:
|
|
enabled: true
|
|
mountPath: "/usr/lib/unifi/cert"
|
|
|
|
securityContext:
|
|
container:
|
|
readOnlyRootFilesystem: false
|
|
runAsGroup: 0
|
|
runAsUser: 0
|
|
workload:
|
|
main:
|
|
podSpec:
|
|
containers:
|
|
main:
|
|
env:
|
|
RUN_CHOWN: true
|
|
DB_MONGO_LOCAL: true
|
|
initContainers:
|
|
migrate:
|
|
enabled: true
|
|
type: init
|
|
imageSelector: alpineImage
|
|
command:
|
|
- /bin/sh
|
|
args:
|
|
- -c
|
|
- |
|
|
newdatadir="/usr/lib/unifi/data"
|
|
olddatadir="/usr/lib/unifi/olddata/data"
|
|
# Check the dir exists
|
|
[ ! -d "$newdatadir" ] && echo "$newdatadir missing" && exit 1
|
|
# Check if there is a data/data dir to migrate
|
|
[ ! -d "$olddatadir" ] && echo "No $olddatadir dir found. Migration skipped" && exit 0
|
|
|
|
# Check if the new data dir is empty, ignoring the old data dir
|
|
dirs=$(ls -A "$newdatadir" | grep -v "data")
|
|
if [ -n "$dirs" ]; then
|
|
echo "New data dir is empty. Migrating data one level up"
|
|
cp -rf $olddatadir/* $newdatadir || echo "Failed to move data" && exit 1
|
|
echo "Data migration complete"
|
|
fi
|