Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
57 commits
Select commit Hold shift + click to select a range
e072730
adding policies folder for trident and values to hub file
aharrell-rh Nov 3, 2025
81bf55b
updated netapp secret policy with better management of credentials
aharrell-rh Nov 7, 2025
d769f7f
fixing values file
aharrell-rh Nov 7, 2025
abc3cd5
removing ignorehelmhooks
aharrell-rh Nov 7, 2025
a50482c
setting name of secret to be pulled from the secret name value
Nov 7, 2025
3f4beba
fixing secret creation to not use an unneccesary range iteration
aharrell-rh Nov 10, 2025
56dce00
commenting out trident
aharrell-rh Nov 13, 2025
57e9ccd
Merge branch 'main' into trident
aharrell-rh Nov 13, 2025
e1c2099
updating name in values file
aharrell-rh Nov 14, 2025
251beb0
updating templates, created example to utilize vault secrets when vso…
Dec 4, 2025
3c238b8
merging pull changes
Dec 4, 2025
876a977
removing hostname
aharrell-rh Dec 4, 2025
c2ce4c9
fixing conflicts
Dec 4, 2025
3347b79
Merge branch 'trident' of https://github.com/auto-shift/autoshiftv2 i…
Dec 4, 2025
abd4566
fixing configmaps to not require a trident true label and creates the…
Dec 9, 2025
889d295
adding more context in values.hub file, adding toggles to values.hub …
Dec 10, 2025
c4f6bd7
changing namespace lookup to policy_namespace for local secrets
Dec 10, 2025
b3bb8be
updating trident to use local secrets
Dec 17, 2025
8bfca48
Merge branch 'main' into trident
aharrell-rh Jan 6, 2026
64555a8
updating values file and readme
Jan 6, 2026
368a8a7
removing vault policy from trident
aharrell-rh Jan 12, 2026
124f9f9
adding var to secret policy to help pull secret from the hub cluster …
Jan 13, 2026
2cb0d2c
fixing annotations
Jan 13, 2026
2a6fae1
updating values for trident in autoshift readme
Jan 19, 2026
970fda8
including warning about machine configs
Jan 19, 2026
0992563
adding dryrun feature
Feb 5, 2026
73649fd
updating readme to include NQN bug link and explaining the need for a…
Feb 5, 2026
91c329d
removing extra example file
Feb 5, 2026
799b9f9
updating annotations, dependencies and tests for backend config bindi…
Feb 18, 2026
240c966
adding dry run
Feb 18, 2026
5494924
commenting out service account
Feb 18, 2026
06410b2
updating readme
Feb 18, 2026
c59b108
Merge remote-tracking branch 'origin/main' into trident
Feb 18, 2026
b26b8c7
merging main into trident
Feb 18, 2026
a33fa99
changing version to match 4.20
Feb 18, 2026
1beeb81
removing vault options
Feb 18, 2026
d0e295c
changing secret example name
Feb 18, 2026
c9ccbee
fixing trident orchestrator policy
Feb 19, 2026
fc1579c
Merge remote-tracking branch 'origin/main' into trident
Feb 23, 2026
38cb373
merging main into trident and adding new storage policies using label…
Feb 23, 2026
504c91e
missed policy content
Feb 23, 2026
cf7f91a
updating readme for storage labelling
Feb 24, 2026
e797f14
updating readme
Feb 24, 2026
d0ea3ad
updating labelling
Feb 26, 2026
8836b4d
change machine config policy to loop noderoles to create for master a…
Feb 26, 2026
d9ad8ec
bringing back storage label toggle and removing legacy file config to…
Feb 27, 2026
ce50194
forgot the read me
Feb 27, 2026
c680435
Merge branch 'main' into trident
Feb 27, 2026
910f2d7
adding values to hub for example, removing vault from readme
Feb 27, 2026
4d8f7ed
updating policies to require you to specify a namespace for looking u…
Mar 3, 2026
cb9f5bc
updating readme
Mar 3, 2026
fc37ae8
removing storage profile example, comes with virt by default
Mar 3, 2026
817fbf6
Merge branch 'main' into trident
Mar 24, 2026
c65994a
Merge remote-tracking branch 'upstream/main' into trident
aharrell-rh May 16, 2026
a45a3e6
moving policies to certified, updating storage to support configurati…
aharrell-rh May 16, 2026
34492d0
cleaning annotations
aharrell-rh May 16, 2026
0898efa
updating cert secret and adding a readme
aharrell-rh May 16, 2026
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
121 changes: 121 additions & 0 deletions autoshift/values/clusters/_example.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -167,6 +167,119 @@ clusters:
# nmstate-nncp-{name}: 'filename' # Filename in policies/stable/nmstate/files/
nmstate-nncp-myconfig: 'filename'

# =======================================================================
# NetApp Trident - Per-Cluster Storage Configuration
# =======================================================================
# Trident can deploy backends using label-driven configuration
# (recommended) or legacy file-based configuration.
#
# Enable Trident policies:
#
trident: 'true'
#
# Required: Name of credentials secret in policies-autoshift namespace
#
trident-creds-secret: 'netapp-creds'
#
# --- Configuration Mode ---
# trident-label-config: 'true' # Recommended
# trident-file-config: 'true' # Legacy compatibility
#
trident-label-config: 'true'
#
# =======================================================================
# NetApp Trident - Per-Cluster Storage Configuration
# =======================================================================
# Trident can deploy backends using label-driven configuration
# (recommended) or legacy file-based configuration.
#
# Enable Trident policies:
#
trident: 'true'
#
# Required: Name of credentials secret in policies-autoshift namespace
#
trident-creds-secret: 'netapp-creds'
#
# --- Configuration Mode ---
# trident-label-config: 'true' # Recommended
#
trident-label-config: 'true'
#
# =======================================================================
# Label-Driven Backend Configuration (Recommended)
# =======================================================================
# Format:
# trident-backend-{N}-{field}
#
# Minimum required fields:
# trident-backend-{N}-svm: 'Data-SVM'
# trident-backend-{N}-managementlif: '192.168.1.1'
# trident-backend-{N}-secret: 'netapp-creds'
#
# Optional overrides:
# trident-backend-{N}-storagedriver: 'ontap-san'
# trident-backend-{N}-santype: 'nvme' # 'nvme' or 'iscsi'
#
# --- Backend 1 Example ---
#
trident-backend-1-svm: 'Data-NFS-SVM-OpenShift'
trident-backend-1-managementlif: '192.168.1.1'
trident-backend-1-secret: 'netapp-creds'
trident-backend-1-santype: 'nvme'
#
# --- Backend 2 Example ---
#
# trident-backend-2-svm: 'Data-SVM-Backup'
# trident-backend-2-managementlif: '192.168.1.2'
# trident-backend-2-secret: 'netapp-creds'
# trident-backend-2-santype: 'iscsi'
#
# Each increment creates:
# - One TridentBackendConfig
# - One StorageClass
#
# Generated Naming Convention:
#
# Backend:
# backend-<sanitized-svm>-<santype>
#
# StorageClass:
# <sanitized-svm>-<santype>
#
# Defaults (if not specified):
#
# storageDriverName = ontap-san
# sanType = nvme
# fsType = ext4
# allowVolumeExpansion = true
#
# =======================================================================
# Legacy File-Based Configuration
# =======================================================================
# Raw YAML files placed in policies/trident/files/ will automatically
# be applied via ConfigMaps when Trident is available.
#
# Format:
# trident-config-{type}-{N}: 'filename.yaml'
#
# Example:
#
# trident-config-backend-1: 'backend-ontap.yaml'
# trident-config-storageclass-1: 'sc-gold.yaml'
#
# Specify namespace where secrets exist on the hub
#
# trident-secrets-namespace: 'secrets-namespace'
#
#
# This method is for:
# - Backward compatibility
# - Highly customized backends
# - Advanced ONTAP options not exposed via labels
#
# New deployments should use label-driven configuration.
#
# =======================================================================
# Infrastructure Node Sizing
# =======================================================================
Expand Down Expand Up @@ -318,6 +431,14 @@ clusters:
# =======================================================================
disconnected-mirror: 'true'
mirror-catalog-suffix: 'mirror'
# =======================================================================
# Trident
# =======================================================================
trident-label-config: 'false'
trident-file-config: 'false'
trident-backend-1-managementlif: '192.168.1.1'
trident-backend-1-svm: 'test-svm'
trident-backend-1-secret: 'secret-name'

# =======================================================================
# Node Maintenance
Expand Down
Loading
Loading