Skip to content

Commit

Permalink
Makefile: clean generate ssl files and ko logs (#4106)
Browse files Browse the repository at this point in the history
Signed-off-by: zhangzujian <[email protected]>
  • Loading branch information
zhangzujian committed May 31, 2024
1 parent d5f90bf commit db821d2
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
5 changes: 4 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -663,7 +663,7 @@ kind-install-underlay-u2o-interconnection-dual: kind-disable-hairpin kind-load-i
-e 's@^VLAN_ID=.*@VLAN_ID="0"@' \
-e 's/VERSION=.*/VERSION=$(VERSION)/' \
dist/images/install.sh | \
ENABLE_SSL=true DUAL_STACK=true ENABLE_VLAN=true VLAN_NIC=eth0 U2O_INTERCONNECTION=true bash
DUAL_STACK=true ENABLE_VLAN=true VLAN_NIC=eth0 U2O_INTERCONNECTION=true bash

.PHONY: kind-install-underlay-hairpin-ipv4
kind-install-underlay-hairpin-ipv4: kind-enable-hairpin kind-load-image kind-untaint-control-plane
Expand Down Expand Up @@ -1022,7 +1022,10 @@ clean:
$(RM) ovn.yaml kube-ovn.yaml kube-ovn-crd.yaml
$(RM) ovn-ic-0.yaml ovn-ic-1.yaml
$(RM) kwok-node.yaml metallb-cr.yaml
$(RM) cacert.pem ovn-req.pem ovn-cert.pem ovn-privkey.pem
$(RM) kube-ovn.tar kube-ovn-dpdk.tar vpc-nat-gateway.tar image-amd64.tar image-amd64-dpdk.tar image-arm64.tar
$(RM) kubectl-ko-log.tar.gz
$(RM) -r kubectl-ko-log/

.PHONY: changelog
changelog:
Expand Down
1 change: 1 addition & 0 deletions dist/images/generate-ssl.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,4 @@ cp /var/lib/openvswitch/pki/switchca/cacert.pem /etc/ovn/
cd /etc/ovn
ovs-pki req ovn -l /dev/stdout --force
ovs-pki -b sign ovn -l /dev/stdout --force
chmod 666 cacert.pem ovn-req.pem ovn-cert.pem ovn-privkey.pem

0 comments on commit db821d2

Please sign in to comment.