Skip to content

Commit 2838c49

Browse files
authored
Merge pull request #25 from gab-arrobo/local-charts
Ignore remote Helm Charts when using local Helm Charts
2 parents c2adb61 + a563663 commit 2838c49

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

roles/core/tasks/install.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,13 @@
44
kubernetes.core.helm_repository:
55
name: cord
66
repo_url: "https://charts.opencord.org"
7-
when: inventory_hostname in groups['master_nodes']
7+
when: inventory_hostname in groups['master_nodes'] and not core.helm.local_charts
88

99
- name: add aether chart repo
1010
kubernetes.core.helm_repository:
1111
name: aether
1212
repo_url: "https://charts.aetherproject.org"
13-
when: inventory_hostname in groups['master_nodes']
13+
when: inventory_hostname in groups['master_nodes'] and not core.helm.local_charts
1414

1515
- name: find {{ core.data_iface }}'s subnet for RAN
1616
shell: ip route | grep {{ core.data_iface }} | awk '/kernel/ {print $1}' | head -1

0 commit comments

Comments
 (0)