Remove auth
Change-Id: I958e345745ec29884b6fbf2513c99a1a16e834d5
diff --git a/Makefile b/Makefile
index 765af4c..53f1a02 100644
--- a/Makefile
+++ b/Makefile
@@ -35,7 +35,6 @@
CHARTS ?= local
CONFIGFILE := configs/$(CHARTS)
include $(CONFIGFILE)
-include configs/authentication
cpu_family := $(shell lscpu | grep 'CPU family:' | awk '{print $$3}')
cpu_model := $(shell lscpu | grep 'Model:' | awk '{print $$2}')
@@ -157,17 +156,8 @@
kubectl delete net-attach-def core-net
touch $@
-auth-secret: $(RESOURCEDIR)/aether.registry.yaml
-$(RESOURCEDIR)/aether.registry.yaml: configs/authentication
- @kubectl -n omec create secret docker-registry aether.registry \
- --docker-server=https://registry.aetherproject.org \
- --docker-username=${REGISTRY_USERNAME} \
- --docker-password=${REGISTRY_CLI_SECRET} \
- --dry-run=client --output=yaml > $@
-
-$(M)/omec: | $(M)/helm-ready /opt/cni/bin/simpleovs /opt/cni/bin/static $(M)/fabric $(RESOURCEDIR)/aether.registry.yaml
+$(M)/omec: | $(M)/helm-ready /opt/cni/bin/simpleovs /opt/cni/bin/static $(M)/fabric
kubectl get namespace omec 2> /dev/null || kubectl create namespace omec
- kubectl -n omec get secret aether.registry || kubectl create -f $(RESOURCEDIR)/aether.registry.yaml
helm repo update
if [[ "${CHARTS}" == "local" || "${CHARTS}" == "local-sdcore" ]]; then helm dep up $(SD_CORE_CHART); fi
helm upgrade --install --wait $(HELM_GLOBAL_ARGS) \
@@ -177,9 +167,8 @@
$(SD_CORE_CHART)
touch $@
-$(M)/5g-core: | $(M)/helm-ready /opt/cni/bin/simpleovs /opt/cni/bin/static $(M)/fabric $(RESOURCEDIR)/aether.registry.yaml
+$(M)/5g-core: | $(M)/helm-ready /opt/cni/bin/simpleovs /opt/cni/bin/static $(M)/fabric
kubectl get namespace omec 2> /dev/null || kubectl create namespace omec
- kubectl -n omec get secret aether.registry || kubectl create -f $(RESOURCEDIR)/aether.registry.yaml
helm repo update
if [[ "${CHARTS}" == "local" || "${CHARTS}" == "local-sdcore" ]]; then helm dep up $(SD_CORE_CHART); fi
helm upgrade --install --wait $(HELM_GLOBAL_ARGS) \
diff --git a/configs/authentication b/configs/authentication
deleted file mode 100644
index f0b537a..0000000
--- a/configs/authentication
+++ /dev/null
@@ -1,8 +0,0 @@
-# Copyright 2021-present Open Networking Foundation
-#
-# SPDX-License-Identifier: Apache-2.0
-
-# Configure auth for private Docker registry. Override with credentials
-# obtained from https://registry.aetherproject.org.
-REGISTRY_USERNAME := myuser
-REGISTRY_CLI_SECRET := my-cli-secret