fix(kopia) Actually use kopia credentials (#10342)

**Description**
The server credentials set by the user are never used by kopia because
of a typo.
⚒️ Fixes  # <!--(issue)-->

**⚙️ Type of change**

- [ ] ⚙️ Feature/App addition
- [x] 🪛 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:**

- [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

---------

Signed-off-by: Xstar97TheNoob <9399967+xstar97@users.noreply.github.com>
Co-authored-by: Xstar97TheNoob <9399967+xstar97@users.noreply.github.com>
This commit is contained in:
Sven Rahn
2023-07-09 14:32:57 +00:00
committed by GitHub
co-authored by Xstar97TheNoob
parent 657a94bee6
commit bc82014bb6
4 changed files with 22 additions and 26 deletions
+1 -1
View File
@@ -19,7 +19,7 @@ sources:
- https://github.com/truecharts/charts/tree/master/charts/incubator/kopia - https://github.com/truecharts/charts/tree/master/charts/incubator/kopia
- https://kopia.io/docs/installation/#docker-images - https://kopia.io/docs/installation/#docker-images
- https://github.com/kopia/kopia - https://github.com/kopia/kopia
version: 6.0.4 version: 6.0.5
annotations: annotations:
truecharts.org/catagories: | truecharts.org/catagories: |
- utility - utility
+16 -20
View File
@@ -12,42 +12,38 @@ questions:
# Include{containerMain} # Include{containerMain}
- variable: kopia - variable: kopia
group: "App Configuration" group: App Configuration
label: "Image Environment" label: Kopia Configuration
schema: schema:
additional_attrs: true additional_attrs: true
type: dict type: dict
attrs: attrs:
- variable: USER - variable: user
label: "Kopia User" label: Repo User
description: "Repository user"
schema: schema:
type: string type: string
default: "secret" default: ""
required: true required: true
- variable: KOPIA_PASSWORD - variable: password
label: "Kopia Password" label: Repo Password
description: "Repository password"
schema: schema:
type: string type: string
default: "secret" default: ""
required: true
private: true private: true
- variable: KOPIA_SERVER_USERNAME required: true
label: "Kopia Server Username" - variable: server_username
description: "Username for WebUI" label: Server UserName
schema: schema:
type: string type: string
default: "server_user" default: ""
required: true required: true
- variable: KOPIA_SERVER_PASSWORD - variable: server_password
label: "Kopia Server Password" label: Server Password
description: "Password for WebUI"
schema: schema:
type: string type: string
default: "server_password" default: ""
required: true
private: true private: true
required: true
# Include{containerBasic} # Include{containerBasic}
# Include{containerAdvanced} # Include{containerAdvanced}
+1 -1
View File
@@ -5,6 +5,6 @@ enabled: true
data: data:
USER: {{ .Values.kopia.user | default "user" }} USER: {{ .Values.kopia.user | default "user" }}
KOPIA_PASSWORD: {{ .Values.kopia.password | default "secret" }} KOPIA_PASSWORD: {{ .Values.kopia.password | default "secret" }}
KOPIA_SERVER_USERNAME: {{ .Values.kopia.server_password | default "server_user" }} KOPIA_SERVER_USERNAME: {{ .Values.kopia.server_username | default "server_user" }}
KOPIA_SERVER_PASSWORD: {{ .Values.kopia.server_password | default "server_password" }} KOPIA_SERVER_PASSWORD: {{ .Values.kopia.server_password | default "server_password" }}
{{- end }} {{- end }}
+4 -4
View File
@@ -11,10 +11,10 @@ service:
port: 10238 port: 10238
kopia: kopia:
kopia_user: "user" user: "user"
kopia_password: "secret" password: "secret"
kopia_server_username: "user" server_username: "user"
kopia_server_password: "password" server_password: "password"
workload: workload:
main: main: