-
Notifications
You must be signed in to change notification settings - Fork 255
chore(examples): refresh longhorn example to v1.11.2 #4923
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
Open
acald-creator
wants to merge
4
commits into
zarf-dev:main
Choose a base branch
from
acald-creator:upgrade-longhorn
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+35
−54
Open
Changes from 2 commits
Commits
Show all changes
4 commits
Select commit
Hold shift + click to select a range
0a25bf3
chore(examples): refresh longhorn example to v1.11.2
acald-creator 38139e1
fix(examples/longhorn): package preflight checker image and fix regis…
acald-creator 34ba81e
chore(examples/longhorn): remove longhornctl component to simplify mu…
acald-creator 3e7f9f2
chore(examples/longhorn): maintain full values.yaml copy with v1.11.2…
acald-creator File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,332 +1,10 @@ | ||
| # Default values for longhorn. | ||
| # This is a YAML-formatted file. | ||
| # Declare variables to be passed into your templates. | ||
| global: | ||
| cattle: | ||
| systemDefaultRegistry: "" | ||
| windowsCluster: | ||
| # Enable this to allow Longhorn to run on the Rancher deployed Windows cluster | ||
| enabled: false | ||
| # Tolerate Linux node taint | ||
| tolerations: | ||
| - key: "cattle.io/os" | ||
| value: "linux" | ||
| effect: "NoSchedule" | ||
| operator: "Equal" | ||
| # Select Linux nodes | ||
| nodeSelector: | ||
| kubernetes.io/os: "linux" | ||
| # Recognize toleration and node selector for Longhorn run-time created components | ||
| defaultSetting: | ||
| taintToleration: cattle.io/os=linux:NoSchedule | ||
| systemManagedComponentsNodeSelector: kubernetes.io/os:linux | ||
|
|
||
| image: | ||
| longhorn: | ||
| engine: | ||
| repository: longhornio/longhorn-engine | ||
| tag: v1.4.0 | ||
| manager: | ||
| repository: longhornio/longhorn-manager | ||
| tag: v1.4.0 | ||
| ui: | ||
| repository: longhornio/longhorn-ui | ||
| tag: v1.4.0 | ||
| instanceManager: | ||
| repository: longhornio/longhorn-instance-manager | ||
| tag: v1.4.0 | ||
| shareManager: | ||
| repository: longhornio/longhorn-share-manager | ||
| tag: v1.4.0 | ||
| backingImageManager: | ||
| repository: longhornio/backing-image-manager | ||
| tag: v1.4.0 | ||
| supportBundleKit: | ||
| repository: longhornio/support-bundle-kit | ||
| tag: v0.0.17 | ||
| csi: | ||
| attacher: | ||
| repository: longhornio/csi-attacher | ||
| tag: v3.4.0 | ||
| provisioner: | ||
| repository: longhornio/csi-provisioner | ||
| tag: v2.1.2 | ||
| nodeDriverRegistrar: | ||
| repository: longhornio/csi-node-driver-registrar | ||
| tag: v2.5.0 | ||
| resizer: | ||
| repository: longhornio/csi-resizer | ||
| tag: v1.3.0 | ||
| snapshotter: | ||
| repository: longhornio/csi-snapshotter | ||
| tag: v5.0.1 | ||
| livenessProbe: | ||
| repository: longhornio/livenessprobe | ||
| tag: v2.8.0 | ||
| pullPolicy: IfNotPresent | ||
|
|
||
| service: | ||
| ui: | ||
| type: ClusterIP | ||
| nodePort: null | ||
| manager: | ||
| type: ClusterIP | ||
| nodePort: "" | ||
| loadBalancerIP: "" | ||
| loadBalancerSourceRanges: "" | ||
|
|
||
| persistence: | ||
| defaultClass: true | ||
| defaultFsType: ext4 | ||
| defaultMkfsParams: "" | ||
| defaultClassReplicaCount: 3 | ||
| defaultDataLocality: disabled # best-effort otherwise | ||
| reclaimPolicy: Delete | ||
| migratable: false | ||
| recurringJobSelector: | ||
| enable: false | ||
| jobList: [] | ||
| backingImage: | ||
| enable: false | ||
| name: ~ | ||
| dataSourceType: ~ | ||
| dataSourceParameters: ~ | ||
| expectedChecksum: ~ | ||
| defaultNodeSelector: | ||
| enable: false # disable by default | ||
| selector: [] | ||
| removeSnapshotsDuringFilesystemTrim: ignored # "enabled" or "disabled" otherwise | ||
|
|
||
| # Keep this file minimal so we inherit Longhorn chart defaults. | ||
| # K3s uses a non-standard kubelet root path. | ||
| csi: | ||
| kubeletRootDir: "/var/lib/kubelet" | ||
| attacherReplicaCount: ~ | ||
| provisionerReplicaCount: ~ | ||
| resizerReplicaCount: ~ | ||
| snapshotterReplicaCount: ~ | ||
|
|
||
| defaultSettings: | ||
| backupTarget: ~ | ||
| backupTargetCredentialSecret: ~ | ||
| allowRecurringJobWhileVolumeDetached: ~ | ||
| createDefaultDiskLabeledNodes: ~ | ||
| defaultDataPath: ~ | ||
| defaultDataLocality: ~ | ||
| replicaSoftAntiAffinity: ~ | ||
| replicaAutoBalance: ~ | ||
| storageOverProvisioningPercentage: ~ | ||
| storageMinimalAvailablePercentage: ~ | ||
| upgradeChecker: ~ | ||
| defaultReplicaCount: ~ | ||
| defaultLonghornStaticStorageClass: ~ | ||
| backupstorePollInterval: ~ | ||
| failedBackupTTL: ~ | ||
| restoreVolumeRecurringJobs: ~ | ||
| recurringSuccessfulJobsHistoryLimit: ~ | ||
| recurringFailedJobsHistoryLimit: ~ | ||
| supportBundleFailedHistoryLimit: ~ | ||
| taintToleration: ~ | ||
| systemManagedComponentsNodeSelector: ~ | ||
| priorityClass: ~ | ||
| autoSalvage: ~ | ||
| autoDeletePodWhenVolumeDetachedUnexpectedly: ~ | ||
| disableSchedulingOnCordonedNode: ~ | ||
| replicaZoneSoftAntiAffinity: ~ | ||
| nodeDownPodDeletionPolicy: ~ | ||
| allowNodeDrainWithLastHealthyReplica: ~ | ||
| mkfsExt4Parameters: ~ | ||
| disableReplicaRebuild: ~ | ||
| replicaReplenishmentWaitInterval: ~ | ||
| concurrentReplicaRebuildPerNodeLimit: ~ | ||
| concurrentVolumeBackupRestorePerNodeLimit: ~ | ||
| disableRevisionCounter: ~ | ||
| systemManagedPodsImagePullPolicy: ~ | ||
| allowVolumeCreationWithDegradedAvailability: ~ | ||
| autoCleanupSystemGeneratedSnapshot: ~ | ||
| concurrentAutomaticEngineUpgradePerNodeLimit: ~ | ||
| backingImageCleanupWaitInterval: ~ | ||
| backingImageRecoveryWaitInterval: ~ | ||
| guaranteedEngineManagerCPU: ~ | ||
| guaranteedReplicaManagerCPU: ~ | ||
| kubernetesClusterAutoscalerEnabled: ~ | ||
| orphanAutoDeletion: ~ | ||
| storageNetwork: ~ | ||
| deletingConfirmationFlag: ~ | ||
| engineReplicaTimeout: ~ | ||
| snapshotDataIntegrity: ~ | ||
| snapshotDataIntegrityImmediateCheckAfterSnapshotCreation: ~ | ||
| snapshotDataIntegrityCronjob: ~ | ||
| removeSnapshotsDuringFilesystemTrim: ~ | ||
| fastReplicaRebuildEnabled: ~ | ||
| replicaFileSyncHttpClientTimeout: ~ | ||
| privateRegistry: | ||
| createSecret: ~ | ||
| registryUrl: ~ | ||
| registryUser: ~ | ||
| registryPasswd: ~ | ||
| registrySecret: ~ | ||
|
|
||
| longhornManager: | ||
| log: | ||
| ## Allowed values are `plain` or `json`. | ||
| format: plain | ||
| priorityClass: ~ | ||
| tolerations: [] | ||
| ## If you want to set tolerations for Longhorn Manager DaemonSet, delete the `[]` in the line above | ||
| ## and uncomment this example block | ||
| # - key: "key" | ||
| # operator: "Equal" | ||
| # value: "value" | ||
| # effect: "NoSchedule" | ||
| nodeSelector: {} | ||
| ## If you want to set node selector for Longhorn Manager DaemonSet, delete the `{}` in the line above | ||
| ## and uncomment this example block | ||
| # label-key1: "label-value1" | ||
| # label-key2: "label-value2" | ||
| serviceAnnotations: {} | ||
| ## If you want to set annotations for the Longhorn Manager service, delete the `{}` in the line above | ||
| ## and uncomment this example block | ||
| # annotation-key1: "annotation-value1" | ||
| # annotation-key2: "annotation-value2" | ||
|
|
||
| longhornDriver: | ||
| priorityClass: ~ | ||
| tolerations: [] | ||
| ## If you want to set tolerations for Longhorn Driver Deployer Deployment, delete the `[]` in the line above | ||
| ## and uncomment this example block | ||
| # - key: "key" | ||
| # operator: "Equal" | ||
| # value: "value" | ||
| # effect: "NoSchedule" | ||
| nodeSelector: {} | ||
| ## If you want to set node selector for Longhorn Driver Deployer Deployment, delete the `{}` in the line above | ||
| ## and uncomment this example block | ||
| # label-key1: "label-value1" | ||
| # label-key2: "label-value2" | ||
|
|
||
| longhornUI: | ||
| replicas: 2 | ||
| priorityClass: ~ | ||
| tolerations: [] | ||
| ## If you want to set tolerations for Longhorn UI Deployment, delete the `[]` in the line above | ||
| ## and uncomment this example block | ||
| # - key: "key" | ||
| # operator: "Equal" | ||
| # value: "value" | ||
| # effect: "NoSchedule" | ||
| nodeSelector: {} | ||
| ## If you want to set node selector for Longhorn UI Deployment, delete the `{}` in the line above | ||
| ## and uncomment this example block | ||
| # label-key1: "label-value1" | ||
| # label-key2: "label-value2" | ||
|
|
||
| longhornConversionWebhook: | ||
| replicas: 2 | ||
| priorityClass: ~ | ||
| tolerations: [] | ||
| ## If you want to set tolerations for Longhorn conversion webhook Deployment, delete the `[]` in the line above | ||
| ## and uncomment this example block | ||
| # - key: "key" | ||
| # operator: "Equal" | ||
| # value: "value" | ||
| # effect: "NoSchedule" | ||
| nodeSelector: {} | ||
| ## If you want to set node selector for Longhorn conversion webhook Deployment, delete the `{}` in the line above | ||
| ## and uncomment this example block | ||
| # label-key1: "label-value1" | ||
| # label-key2: "label-value2" | ||
|
|
||
| longhornAdmissionWebhook: | ||
| replicas: 2 | ||
| priorityClass: ~ | ||
| tolerations: [] | ||
| ## If you want to set tolerations for Longhorn admission webhook Deployment, delete the `[]` in the line above | ||
| ## and uncomment this example block | ||
| # - key: "key" | ||
| # operator: "Equal" | ||
| # value: "value" | ||
| # effect: "NoSchedule" | ||
| nodeSelector: {} | ||
| ## If you want to set node selector for Longhorn admission webhook Deployment, delete the `{}` in the line above | ||
| ## and uncomment this example block | ||
| # label-key1: "label-value1" | ||
| # label-key2: "label-value2" | ||
|
|
||
| longhornRecoveryBackend: | ||
| replicas: 2 | ||
| priorityClass: ~ | ||
| tolerations: [] | ||
| ## If you want to set tolerations for Longhorn recovery backend Deployment, delete the `[]` in the line above | ||
| ## and uncomment this example block | ||
| # - key: "key" | ||
| # operator: "Equal" | ||
| # value: "value" | ||
| # effect: "NoSchedule" | ||
| nodeSelector: {} | ||
| ## If you want to set node selector for Longhorn recovery backend Deployment, delete the `{}` in the line above | ||
| ## and uncomment this example block | ||
| # label-key1: "label-value1" | ||
| # label-key2: "label-value2" | ||
| kubeletRootDir: "/var/lib/rancher/k3s/agent/kubelet" | ||
|
|
||
| ingress: | ||
| ## Set to true to enable ingress record generation | ||
| enabled: false | ||
| preUpgradeChecker: | ||
| upgradeVersionCheck: false | ||
|
|
||
| ## Add ingressClassName to the Ingress | ||
| ## Can replace the kubernetes.io/ingress.class annotation on v1.18+ | ||
| ingressClassName: ~ | ||
|
|
||
| host: sslip.io | ||
|
|
||
| ## Set this to true in order to enable TLS on the ingress record | ||
| tls: false | ||
|
|
||
| ## Enable this in order to enable that the backend service will be connected at port 443 | ||
| secureBackends: false | ||
|
|
||
| ## If TLS is set to true, you must declare what secret will store the key/certificate for TLS | ||
| tlsSecret: longhorn.local-tls | ||
|
|
||
| ## If ingress is enabled you can set the default ingress path | ||
| ## then you can access the UI by using the following full path {{host}}+{{path}} | ||
| path: / | ||
|
|
||
| ## Ingress annotations done as key:value pairs | ||
| ## If you're using kube-lego, you will want to add: | ||
| ## kubernetes.io/tls-acme: true | ||
| ## | ||
| ## For a full list of possible ingress annotations, please see | ||
| ## ref: https://github.com/kubernetes/ingress-nginx/blob/master/docs/annotations.md | ||
| ## | ||
| ## If tls is set to true, annotation ingress.kubernetes.io/secure-backends: "true" will automatically be set | ||
| annotations: | ||
| # kubernetes.io/ingress.class: nginx | ||
| # kubernetes.io/tls-acme: true | ||
|
|
||
| secrets: | ||
| ## If you're providing your own certificates, please use this to add the certificates as secrets | ||
| ## key and certificate should start with -----BEGIN CERTIFICATE----- or | ||
| ## -----BEGIN RSA PRIVATE KEY----- | ||
| ## | ||
| ## name should line up with a tlsSecret set further up | ||
| ## If you're using kube-lego, this is unneeded, as it will create the secret for you if it is not set | ||
| ## | ||
| ## It is also possible to create and manage the certificates outside of this helm chart | ||
| ## Please see README.md for more information | ||
| # - name: longhorn.local-tls | ||
| # key: | ||
| # certificate: | ||
|
|
||
| # For Kubernetes < v1.25, if your cluster enables Pod Security Policy admission controller, | ||
| # set this to `true` to ship longhorn-psp which allow privileged Longhorn pods to start | ||
| enablePSP: false | ||
|
|
||
| ## Specify override namespace, specifically this is useful for using longhorn as sub-chart | ||
| ## and its release namespace is not the `longhorn-system` | ||
| namespaceOverride: "" | ||
|
|
||
| # Annotations to add to the Longhorn Manager DaemonSet Pods. Optional. | ||
| annotations: {} | ||
|
|
||
| serviceAccount: | ||
| # Annotations to add to the service account | ||
| annotations: {} | ||
| global: | ||
| imageRegistry: "127.0.0.1:31999" | ||
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I tend to agree here in sentiment but the current capabiltiies of
zarf dev|package inspect values-filesdo offer some capability to airgapped environments if we have re-specified the whole values file (or at least what is pertinent).I'd lean towards maintaining the copy but feel free to push back.
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for your feedback, I am still learning Zarf, so I will look more into zarf's current capabilities, and look more into this.