Skip to content

Commit 7c0d1f0

Browse files
authored
Merge pull request #29 from gab-arrobo/update-namespace
Change namespace to `aether-5gc`
2 parents 6e7680d + f81674f commit 7c0d1f0

File tree

5 files changed

+12
-12
lines changed

5 files changed

+12
-12
lines changed

roles/core/tasks/install.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@
7575
kubernetes.core.helm:
7676
update_repo_cache: true
7777
name: sd-core
78-
release_namespace: omec
78+
release_namespace: aether-5gc
7979
create_namespace: true
8080
chart_ref: "{{ core.helm.chart_ref if core.helm.local_charts == false else chart_ref_sd_core }}"
8181
chart_version: "{{ core.helm.chart_version }}"
@@ -88,7 +88,7 @@
8888

8989
rescue:
9090
- name: Get Pods Status
91-
shell: kubectl get po -n omec
91+
shell: kubectl get po -n aether-5gc
9292
register: pod_status
9393
changed_when: false
9494
when: inventory_hostname in groups['master_nodes']
@@ -100,7 +100,7 @@
100100
status=$(echo "$line" | awk '{print $3}')
101101
102102
if [[ "$status" != "Running" ]]; then
103-
kubectl delete pod "$name" -n omec
103+
kubectl delete pod "$name" -n aether-5gc
104104
fi
105105
done <<< "{{ pod_status.stdout }}"
106106
args:

roles/core/tasks/uninstall.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
- name: remove aether 5gc
1111
kubernetes.core.helm:
1212
name: sd-core
13-
release_namespace: omec
13+
release_namespace: aether-5gc
1414
state: absent
1515
wait: true
1616
when: inventory_hostname in groups['master_nodes']
@@ -26,13 +26,13 @@
2626

2727
- name: waiting for aether pods to terminate
2828
shell: |
29-
kubectl wait -n omec --for=delete --all=true -l app!=ue pod --timeout=180s
29+
kubectl wait -n aether-5gc --for=delete --all=true -l app!=ue pod --timeout=180s
3030
when: inventory_hostname in groups['master_nodes']
3131
ignore_errors: yes
3232

33-
- name: delete namespace omec
33+
- name: delete namespace aether-5gc
3434
shell: |
35-
kubectl delete namespace omec
35+
kubectl delete namespace aether-5gc
3636
when: inventory_hostname in groups['master_nodes']
3737
ignore_errors: yes
3838

roles/core/templates/sdcore-5g-values.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ omec-sub-provision:
117117
configuration:
118118
provision-network-slice: {{ core.standalone | string }} # if enabled, Device Groups & Slices configure by simapp
119119
sub-provision-endpt:
120-
addr: webui.omec.svc.cluster.local # subscriber configuation endpoint.
120+
addr: webui # subscriber configuation endpoint.
121121
# sub-proxy-endpt: # used if subscriber proxy is enabled in the ROC.
122122
# addr: subscriber-proxy.aether-roc.svc.cluster.local
123123
# port: 5000

roles/upf/tasks/install.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
kubernetes.core.helm:
3939
update_repo_cache: true
4040
name: bess-upf
41-
release_namespace: omec-upf-{{ item.key }}
41+
release_namespace: aether-5gc-upf-{{ item.key }}
4242
create_namespace: true
4343
chart_ref: "{{ core.upf.helm.chart_ref }}"
4444
chart_version: "{{ core.upf.helm.chart_version }}"

roles/upf/tasks/uninstall.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,16 +11,16 @@
1111
- name: remove aether upfs
1212
kubernetes.core.helm:
1313
name: bess-upf
14-
release_namespace: omec-upf-{{ item.key }}
14+
release_namespace: aether-5gc-upf-{{ item.key }}
1515
state: absent
1616
wait: true
1717
with_dict: "{{ core.upf.additional_upfs}}"
1818
when: inventory_hostname in groups['master_nodes']
1919
ignore_errors: yes
2020

21-
- name: delete namespace omec-upf
21+
- name: delete namespace aether-5gc-upf
2222
shell: |
23-
kubectl delete namespace omec-upf-{{ item.key }}
23+
kubectl delete namespace aether-5gc-upf-{{ item.key }}
2424
with_dict: "{{ core.upf.additional_upfs}}"
2525
when: inventory_hostname in groups['master_nodes']
2626
ignore_errors: yes

0 commit comments

Comments
 (0)