File tree Expand file tree Collapse file tree 11 files changed +22
-22
lines changed
tests/integration/targets Expand file tree Collapse file tree 11 files changed +22
-22
lines changed Original file line number Diff line number Diff line change @@ -354,22 +354,22 @@ Examples
354
354
- name : Download Chart using chart_name and repo_url
355
355
kubernetes.core.helm_pull :
356
356
chart_ref : redis
357
- repo_url : https ://charts.bitnami.com/bitnami
357
+ repo_url : oci ://registry-1.docker.io/bitnamicharts/redis
358
358
untar_chart : yes
359
359
destination : /path/to/chart
360
360
361
361
- name : Download Chart (skip tls certificate check)
362
362
kubernetes.core.helm_pull :
363
363
chart_ref : redis
364
- repo_url : https ://charts.bitnami.com/bitnami
364
+ repo_url : oci ://registry-1.docker.io/bitnamicharts/redis
365
365
untar_chart : yes
366
366
destination : /path/to/chart
367
367
skip_tls_certs_check : yes
368
368
369
369
- name : Download Chart using chart registry credentials
370
370
kubernetes.core.helm_pull :
371
371
chart_ref : redis
372
- repo_url : https ://charts.bitnami.com/bitnami
372
+ repo_url : oci ://registry-1.docker.io/bitnamicharts/redis
373
373
untar_chart : yes
374
374
destination : /path/to/chart
375
375
username : myuser
Original file line number Diff line number Diff line change @@ -339,7 +339,7 @@ Common return values are documented `here <https://docs.ansible.com/ansible/late
339
339
<div >Full `helm` command built by this module, in case you want to re-run the command outside the module or debug a problem.</div >
340
340
<br />
341
341
<div style =" font-size : smaller " ><b >Sample:</b ></div >
342
- <div style =" font-size : smaller ; color : blue ; word-wrap : break-word ; word-break : break-all ;" >/usr/local/bin/helm repo add bitnami https ://charts.bitnami.com/bitnami </div >
342
+ <div style =" font-size : smaller ; color : blue ; word-wrap : break-word ; word-break : break-all ;" >/usr/local/bin/helm repo add bitnami oci ://registry-1.docker.io/bitnamicharts/redis </div >
343
343
</td >
344
344
</tr >
345
345
<tr >
Original file line number Diff line number Diff line change 124
124
- name: Download Chart using chart_name and repo_url
125
125
kubernetes.core.helm_pull:
126
126
chart_ref: redis
127
- repo_url: https ://charts.bitnami.com/bitnami
127
+ repo_url: oci ://registry-1.docker.io/bitnamicharts/redis
128
128
untar_chart: yes
129
129
destination: /path/to/chart
130
130
131
131
- name: Download Chart (skip tls certificate check)
132
132
kubernetes.core.helm_pull:
133
133
chart_ref: redis
134
- repo_url: https ://charts.bitnami.com/bitnami
134
+ repo_url: oci ://registry-1.docker.io/bitnamicharts/redis
135
135
untar_chart: yes
136
136
destination: /path/to/chart
137
137
skip_tls_certs_check: yes
138
138
139
139
- name: Download Chart using chart registry credentials
140
140
kubernetes.core.helm_pull:
141
141
chart_ref: redis
142
- repo_url: https ://charts.bitnami.com/bitnami
142
+ repo_url: oci ://registry-1.docker.io/bitnamicharts/redis
143
143
untar_chart: yes
144
144
destination: /path/to/chart
145
145
username: myuser
Original file line number Diff line number Diff line change 158
158
type: str
159
159
description: Full `helm` command built by this module, in case you want to re-run the command outside the module or debug a problem.
160
160
returned: always
161
- sample: '/usr/local/bin/helm repo add bitnami https ://charts.bitnami.com/bitnami '
161
+ sample: '/usr/local/bin/helm repo add bitnami oci ://registry-1.docker.io/bitnamicharts/redis '
162
162
msg:
163
163
type: str
164
164
description: Error message returned by `helm` command
Original file line number Diff line number Diff line change 18
18
helm :
19
19
binary_path : " {{ helm_binary }}"
20
20
chart_ref : redis
21
- chart_repo_url : https ://charts.bitnami.com/bitnami
21
+ chart_repo_url : oci ://registry-1.docker.io/bitnamicharts/redis
22
22
release_name : test-redis
23
23
release_namespace : " {{ helm_namespace }}"
24
24
create_namespace : true
43
43
helm :
44
44
binary_path : " {{ helm_binary }}"
45
45
chart_ref : redis
46
- chart_repo_url : https ://charts.bitnami.com/bitnami
46
+ chart_repo_url : oci ://registry-1.docker.io/bitnamicharts/redis
47
47
release_name : test-redis
48
48
release_namespace : " {{ helm_namespace }}"
49
49
reuse_values : true
Original file line number Diff line number Diff line change 219
219
- name : Install Redis chart
220
220
helm :
221
221
binary_path : " {{ helm_binary }}"
222
- chart_repo_url : https ://charts.bitnami.com/bitnami
222
+ chart_repo_url : oci ://registry-1.docker.io/bitnamicharts/redis
223
223
chart_ref : redis
224
224
namespace : " {{ helm_namespace }}"
225
225
name : redis-chart
229
229
- name : Upgrade Redis chart
230
230
helm :
231
231
binary_path : " {{ helm_binary }}"
232
- chart_repo_url : https ://charts.bitnami.com/bitnami
232
+ chart_repo_url : oci ://registry-1.docker.io/bitnamicharts/redis
233
233
chart_ref : redis
234
234
namespace : " {{ helm_namespace }}"
235
235
name : redis-chart
263
263
- name : Upgrade Redis chart once again
264
264
helm :
265
265
binary_path : " {{ helm_binary }}"
266
- chart_repo_url : https ://charts.bitnami.com/bitnami
266
+ chart_repo_url : oci ://registry-1.docker.io/bitnamicharts/redis
267
267
chart_ref : redis
268
268
namespace : " {{ helm_namespace }}"
269
269
name : redis-chart
Original file line number Diff line number Diff line change 40
40
- name : Install Redis chart without ca_cert (should fail)
41
41
helm :
42
42
binary_path : " {{ helm_binary }}"
43
- chart_repo_url : https ://charts.bitnami.com/bitnami
43
+ chart_repo_url : oci ://registry-1.docker.io/bitnamicharts/redis
44
44
chart_ref : redis
45
45
namespace : " {{ helm_namespace }}"
46
46
create_namespace : true
Original file line number Diff line number Diff line change 30
30
- name : Install Redis chart without validate_certs=false (should fail)
31
31
helm :
32
32
binary_path : " {{ helm_binary }}"
33
- chart_repo_url : https ://charts.bitnami.com/bitnami
33
+ chart_repo_url : oci ://registry-1.docker.io/bitnamicharts/redis
34
34
chart_ref : redis
35
35
namespace : " {{ helm_namespace }}"
36
36
create_namespace : true
Original file line number Diff line number Diff line change 66
66
kubeconfig : " {{ test_kubeconfig | default(omit) }}"
67
67
validate_certs : " {{ test_validate_certs | default(omit) }}"
68
68
ca_cert : " {{ test_ca_cert | default(omit) }}"
69
- repo_url : https ://charts.bitnami.com/bitnami
69
+ repo_url : oci ://registry-1.docker.io/bitnamicharts/redis
70
70
register : repository
71
71
72
72
- name : Assert that repository was added
Original file line number Diff line number Diff line change 160
160
provenance : true
161
161
untar_chart : true
162
162
skip_tls_certs_check : true
163
- repo_url : " https ://charts.bitnami.com/bitnami "
163
+ repo_url : " oci ://registry-1.docker.io/bitnamicharts/redis "
164
164
repo_username : ansible
165
165
repo_password : testing123
166
166
verify_chart_keyring : pubring.gpg
176
176
- ' "--prov" in _result.command'
177
177
- ' "--untar" in _result.command'
178
178
- ' "--insecure-skip-tls-verify" in _result.command'
179
- - ' "--repo https ://charts.bitnami.com/bitnami " in _result.command'
179
+ - ' "--repo oci ://registry-1.docker.io/bitnamicharts/redis " in _result.command'
180
180
- ' "--username ansible" in _result.command'
181
181
- ' "--password ***" in _result.command'
182
182
- ' "--keyring pubring.gpg" in _result.command'
205
205
binary_path : " {{ helm_path }}"
206
206
chart_ref : redis
207
207
destination : " {{ destination }}"
208
- repo_url : " https ://charts.bitnami.com/bitnami "
208
+ repo_url : " oci ://registry-1.docker.io/bitnamicharts/redis "
209
209
untar_chart : true
210
210
register : _result
211
211
You can’t perform that action at this time.
0 commit comments