Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -153,6 +153,7 @@ endif
@if [ "$(PLATFORM)" = "openshift" ]; then \
sed 's/<NAMESPACE>/$(NAMESPACE)/g' config/openshift/scc.yaml | $(KUBECTL) apply -f -; \
else \
sed 's/<NAMESPACE>/$(NAMESPACE)/g' kind/ak-register-forward.yaml | $(KUBECTL) apply -f -; \
sed 's/<NAMESPACE>/$(NAMESPACE)/g' kind/register-forward.yaml | $(KUBECTL) apply -f -; \
sed 's/<NAMESPACE>/$(NAMESPACE)/g' kind/kbs-forward.yaml | $(KUBECTL) apply -f -; \
fi
Expand Down
17 changes: 17 additions & 0 deletions kind/ak-register-forward.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# SPDX-FileCopyrightText: Alice Frosi <afrosi@redhat.com>
#
# SPDX-License-Identifier: CC0-1.0

apiVersion: v1
kind: Service
metadata:
name: ak-register-forward
namespace: <NAMESPACE>
spec:
type: NodePort
ports:
- name: http
nodePort: 31002
port: 8001
selector:
app: attestation-key-register
2 changes: 2 additions & 0 deletions kind/config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ nodes:
hostPort: 8080
- containerPort: 31001
hostPort: 8000
- containerPort: 31002
hostPort: 8001
featureGates:
"ImageVolume": true
networking:
Expand Down