Skip to content
This repository has been archived by the owner on Sep 7, 2023. It is now read-only.

Commit

Permalink
fix: set proper renovate compatible version
Browse files Browse the repository at this point in the history
  • Loading branch information
tboerger committed Jun 14, 2021
1 parent f97d12f commit 55ef452
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions defaults/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@
---
# @var trident_version:description: Version of the Trident release to install
# renovate: datasource=github-releases depName=NetApp/trident
trident_version: 20.10.1
trident_version: v20.10.1

# @var trident_download:description: URL to the archive of the release to install
trident_download: "https://github.com/NetApp/trident/releases/download/v{{ trident_version }}/trident-installer-{{ trident_version }}.tar.gz"
trident_download: "https://github.com/NetApp/trident/releases/download/{{ trident_version }}/trident-installer-{{ trident_version.lstrip('v') }}.tar.gz"

# @var trident_namespace:description: Namespace used within Kubernetes
trident_namespace: trident-system
Expand Down
2 changes: 1 addition & 1 deletion tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@

- name: Fact version change
set_fact:
trident_version_changed: "{{ trident_version_check.rc != 0 or (trident_version_check.stdout is defined and trident_version not in trident_version_check.stdout) | bool }}"
trident_version_changed: "{{ trident_version_check.rc != 0 or (trident_version_check.stdout is defined and trident_version.lstrip('v') not in trident_version_check.stdout) | bool }}"
tags:
- trident

Expand Down

0 comments on commit 55ef452

Please sign in to comment.