Skip to content

Commit

Permalink
add sidecar update to README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
nitesh3108 committed Jan 31, 2025
1 parent 6460b9f commit e5af8da
Showing 1 changed file with 61 additions and 3 deletions.
64 changes: 61 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -239,12 +239,11 @@ jobs:
This workflow updates csm-operator repository with latest version of the operator for the given release.
It also updates the CSM program version wherever it is used in csm-operator repository.
This workflow accepts total three parameters as input to the workflow (csm version, latest operator version, existing operator version). The workflow accepts version as an input and releases that particular version. Below is the example usage in csm-operator repository.
This workflow accepts total three parameters as input to the workflow (csm version, latest operator version, existing operator version).
It expects a script to be present in the csm-operator repository ".github/scripts/operator-version-update.sh".
Workflow needs to be triggered manually from csm-operator repository.
Workflow needs to be triggered manually from csm-operator repository. Below is the example usage in csm-operator repository.
```
name: Update CSM Operator version
# reusable workflow
Expand All @@ -271,6 +270,65 @@ jobs:
csm-version: ${{ inputs.csm-version }}
secrets: inherit
```
## Update all sidecar versions to latest available, in csm-operator
This workflow updates csm-operator repository with latest versions of the sidecars.
This workflow accepts total eight parameters as input to the workflow -
(attacher,provisioner,snapshotter,resizer,registrar,external_heath_monitor,metadata_retriever,sdcmonitor).
Below is the example usage in csm-operator repository.
It expects a script to be present in the csm-operator repository ".github/scripts/sidecar-version-update.sh".
Workflow needs to be triggered manually from csm-operator repository. Below is the example usage in csm-operator repository.
```
name: Update sidecar version
# reusable workflow
on: # yamllint disable-line rule:truthy
workflow_call:
workflow_dispatch:
inputs:
attacher:
description: 'csi-attacher version, ex: v4.8.0'
required: true
provisioner:
description: 'csi-provisioner version, ex: v5.1.0'
required: true
snapshotter:
description: 'csi-snapshotter version, ex: v8.2.0'
required: true
resizer:
description: 'csi-resizer version, ex: v1.13.1'
required: true
registrar:
description: 'csi-node-driver-registrar version, ex: v2.13.0'
required: true
health-monitor:
description: 'csi-external-health-monitor-controller version, ex: v0.14.0'
required: true
metadata-retriever:
description: 'csi-metadata-retriever version, ex: v1.8.0'
required: true
sdcmonitor:
description: 'sdc version, ex: 4.5.1'
required: true
jobs:
version-update:
uses: dell/common-github-actions/.github/workflows/sidecar-version-update.yaml@main
name: Sidecar version update
with:
attacher: ${{ inputs.attacher }}
snapshotter: ${{ inputs.snapshotter }}
provisioner: ${{ inputs.provisioner }}
registrar: ${{ inputs.registrar }}
health-monitor: ${{ inputs.health-monitor }}
metadata-retriever: ${{ inputs.metadata-retriever }}
resizer: ${{ inputs.resizer }}
sdcmonitor: ${{ inputs.sdcmonitor }}
secrets: inherit

```

## Support

Don’t hesitate to ask! Contact the team and community on [our support](./docs/SUPPORT.md).
Expand Down

0 comments on commit e5af8da

Please sign in to comment.