Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update trident to vesrsion 24.06.1 #380

Merged
merged 1 commit into from
Oct 10, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion trident/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
FROM fedora

ENV TRIDENT_VERSION='24.02.0'
ENV TRIDENT_VERSION='24.06.1'

RUN \
curl -L https://github.com/NetApp/trident/releases/download/v${TRIDENT_VERSION}/trident-installer-${TRIDENT_VERSION}.tar.gz -o trident-installer.tar.gz \
Expand Down
2 changes: 1 addition & 1 deletion trident/cluster/trident-controller-clusterrole.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ rules:
verbs: ["get", "list", "watch", "create", "delete", "update", "patch"]
- apiGroups: [""]
resources: ["persistentvolumeclaims"]
verbs: ["get", "list", "watch", "create", "update", "patch"]
verbs: ["get", "list", "watch", "create", "update", "patch", "delete"]
- apiGroups: [""]
resources: ["persistentvolumeclaims/status"]
verbs: ["update", "patch"]
Expand Down
55 changes: 55 additions & 0 deletions trident/cluster/trident-crds.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -664,3 +664,58 @@ spec:
categories:
- trident
- trident-external
---
apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
name: tridentconfigurators.trident.netapp.io
spec:
group: trident.netapp.io
versions:
- name: v1
served: true
storage: true
schema:
openAPIV3Schema:
type: object
x-kubernetes-preserve-unknown-fields: true
subresources:
status: {}
additionalPrinterColumns:
- name: Phase
type: string
description: The backend config phase
priority: 0
jsonPath: .status.phase
- name: Status
type: string
description: The result of the last operation
priority: 0
jsonPath: .status.lastOperationStatus
- name: Cloud Provider
type: string
description: The name of cloud provider
priority: 0
jsonPath: .status.cloudProvider
- name: Storage Driver
type: string
description: The storage driver type
priority: 1
jsonPath: .spec.storageDriverName
- name: Deletion Policy
type: string
description: The deletion policy
priority: 1
jsonPath: .status.deletionPolicy
scope: Cluster
names:
plural: tridentconfigurators
singular: tridentconfigurator
kind: TridentConfigurator
shortNames:
- tconf
- tconfigurator
categories:
- trident
- trident-internal
- trident-external
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,6 @@ apiVersion: v1
kind: ServiceAccount
metadata:
name: trident-controller

labels:
app: controller.csi.trident.netapp.io
4 changes: 3 additions & 1 deletion trident/namespaced/trident-daemonset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ spec:
metadata:
labels:
app: node.csi.trident.netapp.io
annotations:
openshift.io/required-scc: trident-node-linux
spec:
serviceAccount: trident-node-linux
hostNetwork: true
Expand All @@ -31,7 +33,7 @@ spec:
- all
add:
- SYS_ADMIN
image: netapp/trident:24.02.0
image: netapp/trident:24.06.1
imagePullPolicy: IfNotPresent
command:
- /trident_orchestrator
Expand Down
19 changes: 13 additions & 6 deletions trident/namespaced/trident-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,14 @@ spec:
metadata:
labels:
app: controller.csi.trident.netapp.io

annotations:
openshift.io/required-scc: trident-controller
spec:
serviceAccount: trident-controller
containers:
- name: trident-main
image: netapp/trident:24.02.0
image: netapp/trident:24.06.1
imagePullPolicy: IfNotPresent
securityContext:
runAsNonRoot: false
Expand Down Expand Up @@ -69,6 +72,10 @@ spec:
fieldRef:
apiVersion: v1
fieldPath: spec.nodeName
- name: POD_NAMESPACE
valueFrom:
fieldRef:
fieldPath: metadata.namespace
- name: CSI_ENDPOINT
value: unix://plugin/csi.sock
- name: TRIDENT_SERVER
Expand All @@ -82,7 +89,7 @@ spec:
readOnly: true

- name: trident-autosupport
image: docker.io/netapp/trident-autosupport:24.02
image: docker.io/netapp/trident-autosupport:24.06
imagePullPolicy: IfNotPresent
securityContext:
capabilities:
Expand All @@ -108,7 +115,7 @@ spec:
- name: asup-dir
mountPath: /asup
- name: csi-provisioner
image: registry.k8s.io/sig-storage/csi-provisioner:v4.0.0
image: registry.k8s.io/sig-storage/csi-provisioner:v4.0.1
imagePullPolicy: IfNotPresent
securityContext:
capabilities:
Expand All @@ -128,7 +135,7 @@ spec:
- name: socket-dir
mountPath: /var/lib/csi/sockets/pluginproxy/
- name: csi-attacher
image: registry.k8s.io/sig-storage/csi-attacher:v4.5.0
image: registry.k8s.io/sig-storage/csi-attacher:v4.6.0
imagePullPolicy: IfNotPresent
securityContext:
capabilities:
Expand All @@ -146,7 +153,7 @@ spec:
- name: socket-dir
mountPath: /var/lib/csi/sockets/pluginproxy/
- name: csi-resizer
image: registry.k8s.io/sig-storage/csi-resizer:v1.9.3
image: registry.k8s.io/sig-storage/csi-resizer:v1.11.0
imagePullPolicy: IfNotPresent
args:
- "--v=2"
Expand All @@ -159,7 +166,7 @@ spec:
- name: socket-dir
mountPath: /var/lib/csi/sockets/pluginproxy/
- name: csi-snapshotter
image: registry.k8s.io/sig-storage/csi-snapshotter:v6.3.3
image: registry.k8s.io/sig-storage/csi-snapshotter:v7.0.2
imagePullPolicy: IfNotPresent
securityContext:
capabilities:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,6 @@ apiVersion: v1
kind: ServiceAccount
metadata:
name: trident-node-linux

labels:
app: node.csi.trident.netapp.io
Loading