fix(observium): Redo chart and update container (#18554)

**Description**

Another all-in-one image that's getting redone to something new. This
container has lots of env vars so people can modify as they desire

⚒️ Fixes  #16902 

**⚙️ Type of change**

- [ ] ⚙️ Feature/App addition
- [ ] 🪛 Bugfix
- [ ] ⚠️ Breaking change (fix or feature that would cause existing
functionality to not work as expected)
- [ ] 🔃 Refactor of current code

**🧪 How Has This Been Tested?**
<!--
Please describe the tests that you ran to verify your changes. Provide
instructions so we can reproduce. Please also list any relevant details
for your test configuration
-->

**📃 Notes:**
<!-- Please enter any other relevant information here -->

**✔️ Checklist:**

- [ ] ⚖️ My code follows the style guidelines of this project
- [ ] 👀 I have performed a self-review of my own code
- [ ] #️⃣ I have commented my code, particularly in hard-to-understand
areas
- [ ] 📄 I have made corresponding changes to the documentation
- [ ] ⚠️ My changes generate no new warnings
- [ ] 🧪 I have added tests to this description that prove my fix is
effective or that my feature works
- [ ] ⬆️ I increased versions for any altered app according to semantic
versioning

** App addition**

If this PR is an app addition please make sure you have done the
following.

- [ ] 🖼️ I have added an icon in the Chart's root directory called
`icon.png`

---

_Please don't blindly check all the boxes. Read them and only check
those that apply.
Those checkboxes are there for the reviewer to see what is this all
about and
the status of this PR with a quick glance._

---------

Signed-off-by: StevenMcElligott <89483932+StevenMcElligott@users.noreply.github.com>
Signed-off-by: Stavros Kois <47820033+stavros-k@users.noreply.github.com>
Co-authored-by: Stavros Kois <47820033+stavros-k@users.noreply.github.com>
This commit is contained in:
StevenMcElligott 2024-03-01 02:00:41 -05:00 committed by GitHub
parent 61f5b19881
commit b6f6d98564
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 87 additions and 13 deletions

View File

@ -7,7 +7,7 @@ annotations:
truecharts.org/min_helm_version: "3.11"
truecharts.org/train: stable
apiVersion: v2
appVersion: latest
appVersion: 2023.12.19
dependencies:
- name: common
version: 18.1.2
@ -16,6 +16,13 @@ dependencies:
alias: ""
tags: []
import-values: []
- name: mariadb
version: 13.0.0
repository: oci://tccr.io/truecharts
condition: mariadb.enabled
alias: ""
tags: []
import-values: []
deprecated: false
description: Observium is an autodiscovering network monitoring platform supporting a wide range of hardware platforms and operating systems.[br][br]
home: https://truecharts.org/charts/stable/observium
@ -32,6 +39,6 @@ name: observium
sources:
- https://www.observium.org/
- https://github.com/truecharts/charts/tree/master/charts/stable/observium
- https://hub.docker.com/r/uberchuckie/observium
- https://github.com/pvrmza/docker-observium
type: application
version: 5.2.0
version: 6.0.0

View File

@ -9,6 +9,34 @@ questions:
# Include{replicas1}
# Include{podSpec}
# Include{containerMain}
- variable: env
group: "App Configuration"
label: "Image Environment"
schema:
additional_attrs: true
type: dict
attrs:
- variable: OBSERVIUM_ADMIN_USER
label: "Admin User"
description: "Observium Admin User"
schema:
type: string
required: true
default: ""
- variable: OBSERVIUM_ADMIN_PASS
label: "Admin Password"
description: "Observium Admin Password"
schema:
type: string
private: true
required: true
default: ""
- variable: OBSERVIUM_base_url
label: "Base URL"
description: "Observium Base URL"
schema:
type: string
default: ""
# Include{containerBasic}
# Include{containerAdvanced}
# Include{containerConfig}

View File

@ -1,26 +1,22 @@
image:
pullPolicy: IfNotPresent
repository: uberchuckie/observium
tag: latest@sha256:60859fd66bcd2f526afc01bcadecc216768900059626da73f5c8d1259d746092
persistence:
observium:
enabled: true
mountPath: /opt/observium/rrd
portal:
open:
enabled: true
repository: pvrmza/docker-observium
tag: 20231219@sha256:faf9d34be08d25131e1baf925b09a71ff1ae3edc56d4a06fa236166d60a0c57e
securityContext:
container:
readOnlyRootFilesystem: false
runAsNonRoot: false
runAsGroup: 0
runAsUser: 0
service:
main:
ports:
main:
port: 8668
protocol: http
targetPort: 8668
targetPort: 80
udpport1:
enabled: true
ports:
@ -29,3 +25,46 @@ service:
port: 8514
protocol: udp
targetPort: 514
workload:
main:
podSpec:
containers:
main:
env:
OBSERVIUM_ADMIN_USER: "please-change"
OBSERVIUM_ADMIN_PASS: "Ch4angeME"
OBSERVIUM_base_url: ""
#
OBSERVIUM_auth_mechanism: "mysql"
OBSERVIUM_db_extension: "mysqli"
OBSERVIUM_db_host:
secretKeyRef:
expandObjectName: false
name: '{{ printf "%s-%s" .Release.Name "mariadbcreds" }}'
key: plainhost
OBSERVIUM_db_name: observium
OBSERVIUM_db_pass:
secretKeyRef:
expandObjectName: false
name: '{{ printf "%s-%s" .Release.Name "mariadbcreds" }}'
key: mariadb-password
OBSERVIUM_db_user: observium
OBSERVIUM_cache__enable: true
OBSERVIUM_cache__driver: "auto"
mariadb:
enabled: true
mariadbUsername: observium
mariadbDatabase: observium
persistence:
config:
enabled: true
mountPath: /config
varrun:
enabled: false
portal:
open:
enabled: true