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

View File

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

View File

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

View File

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

View File

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