diff --git a/Makefile b/Makefile index 2ca89cd6..cae74fa4 100644 --- a/Makefile +++ b/Makefile @@ -153,6 +153,7 @@ endif @if [ "$(PLATFORM)" = "openshift" ]; then \ sed 's//$(NAMESPACE)/g' config/openshift/scc.yaml | $(KUBECTL) apply -f -; \ else \ + sed 's//$(NAMESPACE)/g' kind/ak-register-forward.yaml | $(KUBECTL) apply -f -; \ sed 's//$(NAMESPACE)/g' kind/register-forward.yaml | $(KUBECTL) apply -f -; \ sed 's//$(NAMESPACE)/g' kind/kbs-forward.yaml | $(KUBECTL) apply -f -; \ fi diff --git a/kind/ak-register-forward.yaml b/kind/ak-register-forward.yaml new file mode 100644 index 00000000..84cfa59d --- /dev/null +++ b/kind/ak-register-forward.yaml @@ -0,0 +1,17 @@ +# SPDX-FileCopyrightText: Alice Frosi +# +# SPDX-License-Identifier: CC0-1.0 + +apiVersion: v1 +kind: Service +metadata: + name: ak-register-forward + namespace: +spec: + type: NodePort + ports: + - name: http + nodePort: 31002 + port: 8001 + selector: + app: attestation-key-register diff --git a/kind/config.yaml b/kind/config.yaml index d14cf0c7..b4db668f 100644 --- a/kind/config.yaml +++ b/kind/config.yaml @@ -16,6 +16,8 @@ nodes: hostPort: 8080 - containerPort: 31001 hostPort: 8000 + - containerPort: 31002 + hostPort: 8001 featureGates: "ImageVolume": true networking: