Skip to content

Conversation

LimKianAn
Copy link
Contributor

Add integration tests by using controller-runtime pkg envtest.

@LimKianAn LimKianAn marked this pull request as draft March 12, 2021 20:17
@LimKianAn LimKianAn requested a review from eberlep March 15, 2021 18:26
@LimKianAn LimKianAn marked this pull request as ready for review March 15, 2021 18:27
Makefile Outdated
@{ \
set -e ;\
YAML=external/test/crd-clusterwidenetworkpolicy.yaml ;\
kubectl apply -f https://raw.githubusercontent.com/metal-stack/firewall-controller/master/config/crd/bases/metal-stack.io_clusterwidenetworkpolicies.yaml -o yaml | sed '/^ resourceVersion/d' > $$YAML ;\
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Use curl

namespace: database
name: sample-name-a
namespace: default
name: sample-name
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Change the file name to complete.

apiVersion: database.fits.cloud/v1
kind: Postgres
metadata:
namespace: database
name: sample-name-a
namespace: default
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Change to prod ns: metal-extension-cloud

)

func init() {
}

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Remove

@eberlep eberlep merged commit 2b9f949 into main Mar 17, 2021
@eberlep eberlep deleted the envtest branch March 17, 2021 10:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants