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
10 changes: 10 additions & 0 deletions manifests/kustomization.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
# If changing the namespace, also update the cluster_role_binding.yaml.
namespace: default
resources:
- crds/core.observatorium.io_observatoria.yaml
- cluster_role.yaml
- cluster_role_binding.yaml
- service_account.yaml
- operator.yaml
5 changes: 4 additions & 1 deletion tests/e2e.sh
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,10 @@ deploy_operator() {
$KUBECTL apply -n observatorium -f jsonnet/vendor/github.com/observatorium/deployments/tests/manifests/observatorium-xyz-tls-configmap.yaml
$KUBECTL apply -n observatorium -f jsonnet/vendor/github.com/observatorium/deployments/tests/manifests/observatorium-xyz-tls-secret.yaml
$KUBECTL apply -f manifests/crds
$KUBECTL apply -f manifests/
$KUBECTL apply -f manifests/cluster_role.yaml
$KUBECTL apply -f manifests/cluster_role_binding.yaml
$KUBECTL apply -f manifests/service_account.yaml
$KUBECTL apply -f manifests/operator.yaml
Copy link
Contributor

Choose a reason for hiding this comment

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

@4n4nd How about just use $KUBECTL apply -k manifests?

$KUBECTL apply -n observatorium -f example/manifests
wait_for_cr observatorium-xyz
}
Expand Down