Files
truecharts/charts/system/snapshot-controller/values.yaml
T
Kjeld SchoutenandGitHub f8e33766bf feat(common): remove portal and ensure appUrl is used for notes.txt (#34047)
**Description**

This removes old portal references (from truenas times) from common and
notes.txt
Also ensures chartContext is used for notes.txt

Technically breaking in case any down-stream users use portal
configmap/data

⚒️ Fixes  #31880

**⚙️ Type of change**

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

**🧪 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 changes to the documentation
- [ ] 🧪 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
- [ ] I made sure the title starts with `feat(chart-name):`,
`fix(chart-name):`, `chore(chart-name):`, `docs(chart-name):` or
`fix(docs):`

**➕ 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: Kjeld Schouten <info@kjeldschouten.nl>
2025-04-07 22:04:57 +02:00

132 lines
3.5 KiB
YAML

image:
pullPolicy: IfNotPresent
repository: registry.k8s.io/sig-storage/snapshot-controller
tag: v8.2.1
service:
main:
enabled: true
ports:
main:
enabled: true
port: 8080
protocol: http
webhook:
enabled: true
ports:
webhook:
enabled: true
port: 8443
protocol: https
podOptions:
automountServiceAccountToken: true
workload:
main:
podSpec:
containers:
main:
args:
- "--http-endpoint=:{{ .Values.service.main.ports.main.port }}"
- "--leader-election=true"
- "--leader-election-namespace={{ .Release.Namespace }}"
probes:
liveness:
path: /metrics
readiness:
path: /metrics
startup:
path: /metrics
webhook:
enabled: false
podSpec:
containers:
webhook:
enabled: false
args:
- "--tlsPrivateKeyFile=/etc/snapshot-validation/tls.key"
- "--tlsCertFile=/etc/snapshot-validation/tls.crt"
- "--port={{ .Values.service.webhook.ports.webhook.port }}"
probes:
liveness:
enabled: true
type: https
path: /readyz
port: 8443
readiness:
enabled: true
type: https
path: /readyz
port: 8443
startup:
enabled: true
type: https
path: /readyz
port: 8443
metrics:
main:
enabled: true
type: servicemonitor
endpoints:
- port: main
path: /metrics
targetSelector: main
serviceAccount:
main:
enabled: true
primary: true
targetSelectAll: true
rbac:
main:
enabled: true
primary: true
clusterWide: true
rules:
- apiGroups: [""]
resources: ["persistentvolumes"]
verbs: ["get", "list", "watch"]
- apiGroups: [""]
resources: ["persistentvolumeclaims"]
verbs: ["get", "list", "watch", "update"]
- apiGroups: ["storage.k8s.io"]
resources: ["storageclasses"]
verbs: ["get", "list", "watch"]
- apiGroups: [""]
resources: ["events"]
verbs: ["list", "watch", "create", "update", "patch"]
- apiGroups: ["snapshot.storage.k8s.io"]
resources: ["volumesnapshotclasses"]
verbs: ["get", "list", "watch"]
- apiGroups: ["snapshot.storage.k8s.io"]
resources: ["volumesnapshotcontents"]
verbs: ["create", "get", "list", "watch", "update", "patch", "delete"]
- apiGroups: ["snapshot.storage.k8s.io"]
resources: ["volumesnapshotcontents/status"]
verbs: ["patch"]
- apiGroups: ["snapshot.storage.k8s.io"]
resources: ["volumesnapshots"]
verbs: ["get", "list", "watch", "update", "patch"]
- apiGroups: ["snapshot.storage.k8s.io"]
resources: ["volumesnapshots/status"]
verbs: ["update", "patch"]
- apiGroups: [""]
resources: ["nodes"]
verbs: ["get", "list", "watch"]
- apiGroups: ["snapshot.storage.k8s.io", "groupsnapshot.storage.k8s.io"]
resources: ["volumesnapshotclasses", "volumegroupsnapshotclasses"]
verbs: ["list", "watch"]
role:
enabled: true
primary: false
clusterWide: false
serviceAccounts: ["main"]
rules:
- apiGroups: ["coordination.k8s.io"]
resources: ["leases"]
verbs: ["get", "watch", "list", "delete", "update", "create"]