Skip to content

Commit

Permalink
Add kustomize base (#6)
Browse files Browse the repository at this point in the history
  • Loading branch information
hermanbanken authored Dec 15, 2021
1 parent b4dac8b commit 734b1ec
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@ jobs:
# Install resources
export DESTINATION_SHA="docker.pkg.github.com/${GITHUB_REPOSITORY,,}/mc-robot:$GITHUB_SHA"
rm deploy/kustomization.yaml
cat deploy/* | sed --expression "s|REPLACE_IMAGE|$DESTINATION_SHA|" | tee -a /dev/stderr | \
kubectl apply -f -
cat deploy/examples/* | \
Expand Down
7 changes: 7 additions & 0 deletions deploy/kustomization.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization

resources:
- 0_mc.q42.nl_servicesyncs_crd.yaml
- 1_rbac.yaml
- 2_operator.yaml

0 comments on commit 734b1ec

Please sign in to comment.