Skip to content

Commit

Permalink
chore: update kustomization for install to v0.0.10 (#173)
Browse files Browse the repository at this point in the history
Co-authored-by: nakamasato <nakamasato@users.noreply.github.com>
Co-authored-by: Naka Masato <masatonaka1989@gmail.com>
  • Loading branch information
3 people authored Mar 27, 2023
1 parent e4bd627 commit 668ea23
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 6 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,13 +51,16 @@ jobs:
- name: Update kustomization
run: IMG=${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:${GITHUB_REF:10} make release

- name: Set env
run: echo "RELEASE_VERSION=$(echo ${GITHUB_REF:10})" >> $GITHUB_ENV

- name: Create Pull Request
uses: peter-evans/create-pull-request@v4
with:
token: ${{ secrets.GITHUB_TOKEN }}
title: "chore: update kustomization for install to ${GITHUB_REF:10}"
title: "chore: update kustomization for install to ${{ env.RELEASE_VERSION }}"
body: |
# Why
- New version was released.
- New version [${{ env.RELEASE_VERSION }}](${{ github.server_url }}/${{ github.repository }}/releases/tag/${{ env.RELEASE_VERSION }}) was released.
# What
- Update kustomization for installation
7 changes: 3 additions & 4 deletions config/install/kustomization.yaml
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
namespace: mysql-operator-system
namePrefix: mysql-operator-
bases:
- ../crd
- ../rbac

resources:
- manager.yaml
- ../crd
- ../rbac

generatorOptions:
disableNameSuffixHash: true
Expand All @@ -19,4 +18,4 @@ kind: Kustomization
images:
- name: controller
newName: ghcr.io/nakamasato/mysql-operator
newTag: v0.0.7
newTag: v0.0.10

0 comments on commit 668ea23

Please sign in to comment.