migrate(cloudbeaver) to new common and update chart **BREAKING CHANGES** (#15733)

**Description**
Migrate app to new common and update chart to latest semVER version
**⚙️ Type of change**

- [ ] ⚙️ Feature/App addition
- [ ] 🪛 Bugfix
- [X] ⚠️ Breaking change (fix or feature that would cause existing
functionality to not work as expected)
- [X] 🔃 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:**

- [X] ⚖️ My code follows the style guidelines of this project
- [X] 👀 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
- [X] ⬆️ 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 opened a PR on
[truecharts/containers](https://github.com/truecharts/containers) adding
the container to TrueCharts mirror repo.
- [ ] 🖼️ 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._
This commit is contained in:
Xstar97TheNoob 2023-12-05 18:04:37 -05:00 committed by GitHub
parent f086f1fcba
commit 97f910599c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 30 additions and 33 deletions

View File

@ -1,8 +1,8 @@
kubeVersion: ">=1.24.0"
apiVersion: v2
name: cloudbeaver
version: 2.0.19
appVersion: latest
version: 3.0.0
appVersion: 23.3.0
description: Cloud Database Manager (Official Chart)
home: https://truecharts.org/charts/incubator/cloudbeaver
icon: https://truecharts.org/img/hotlink-ok/chart-icons/cloudbeaver.png
@ -21,7 +21,7 @@ keywords:
- Tools-Utilities
dependencies:
- name: common
version: 11.1.2
version: 16.0.0
repository: https://library-charts.truecharts.org
condition: ""
alias: ""

View File

@ -6,34 +6,28 @@ questions:
# Include{global}
# Include{workload}
# Include{workloadDeployment}
# Include{replicas1}
# Include{podSpec}
# Include{containerMain}
# Include{containerBasic}
# Include{containerAdvanced}
# Include{containerConfig}
# Include{podOptions}
# Include{serviceRoot}
- variable: main
label: "Main Service"
description: "The Primary service on which the healthcheck runs, often the webUI"
schema:
additional_attrs: true
type: dict
attrs:
# Include{serviceMain}
# Include{serviceSelectorLoadBalancer}
# Include{serviceSelectorExtras}
- variable: main
label: "Main Service Port Configuration"
label: Main Service Port Configuration
schema:
additional_attrs: true
type: dict
attrs:
- variable: port
label: "Port"
description: "This port exposes the container port on the service"
label: Port
description: This port exposes the container port on the service
schema:
type: int
default: 8978
@ -42,9 +36,9 @@ questions:
# Include{serviceExpert}
# Include{serviceList}
# Include{persistenceRoot}
- variable: appdata
label: "appdata Storage"
description: "Container Path optcloudbeaverworkspace"
- variable: workspace
label: App Workspace Storage
description: Stores the Application Workspace.
schema:
additional_attrs: true
type: dict

View File

@ -0,0 +1 @@
{{- include "tc.v1.common.lib.chart.notes" $ -}}

View File

@ -1,2 +1 @@
{{/* Render the templates */}}
{{ include "tc.common.loader.all" . }}
{{ include "tc.v1.common.loader.all" . }}

View File

@ -1,25 +1,28 @@
env: {}
image:
pullPolicy: IfNotPresent
repository: tccr.io/truecharts/cloudbeaver
tag: latest@sha256:819648653a00b7dea42d204b6d3cf2128381c98c7336188981a4ec5a5cd79119
persistence:
appdata:
enabled: true
mountPath: /opt/cloudbeaver/workspace
podSecurityContext:
runAsGroup: 0
runAsUser: 0
repository: dbeaver/cloudbeaver
tag: 23.3.0@sha256:4ec08435112630177c9ce78f78bb4313668844f40d6f2a51b7ab92463412a04e
securityContext:
readOnlyRootFilesystem: false
runAsNonRoot: false
container:
runAsNonRoot: false
readOnlyRootFilesystem: false
runAsUser: 0
runAsGroup: 0
service:
main:
ports:
main:
port: 8978
protocol: TCP
protocol: http
targetPort: 8978
persistence:
workspace:
enabled: true
mountPath: /opt/cloudbeaver/workspace
portal:
enabled: true
open:
enabled: true