Skip to content

Commit

Permalink
Merge pull request #150 from adam-cattermole/update-bundle
Browse files Browse the repository at this point in the history
  • Loading branch information
adam-cattermole committed Oct 23, 2023
2 parents accf6b0 + d1455f4 commit 9a530cd
Show file tree
Hide file tree
Showing 8 changed files with 11 additions and 6 deletions.
1 change: 1 addition & 0 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ jobs:
VERSION=${{ github.event.inputs.operatorVersion }} \
AUTHORINO_VERSION=${{ github.event.inputs.authorinoVersion }} \
CHANNELS=${{ github.event.inputs.channels }} \
DEFAULT_CHANNEL=${{ github.event.inputs.channels }} \
make prepare-release
- name: Commit and push
run: |
Expand Down
6 changes: 4 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -77,8 +77,10 @@ SHELL = /usr/bin/env bash -o pipefail
AUTHORINO_VERSION ?= latest
ifeq (latest,$(AUTHORINO_VERSION))
AUTHORINO_BRANCH = main
AUTHORINO_IMAGE_TAG = latest
else
AUTHORINO_BRANCH = v$(AUTHORINO_VERSION)
AUTHORINO_IMAGE_TAG = v$(AUTHORINO_VERSION)
endif

AUTHORINO_IMAGE_FILE ?= authorino_image
Expand Down Expand Up @@ -140,7 +142,7 @@ manifests: controller-gen kustomize authorino-manifests ## Generate WebhookConfi

.PHONY: authorino-manifests
authorino-manifests: export AUTHORINO_GITREF := $(AUTHORINO_BRANCH)
authorino-manifests: export AUTHORINO_VERSION := $(AUTHORINO_VERSION)
authorino-manifests: export AUTHORINO_IMAGE_TAG := $(AUTHORINO_IMAGE_TAG)
authorino-manifests: ## Update authorino manifests.
envsubst \
< config/authorino/kustomization.template.yaml \
Expand Down Expand Up @@ -266,7 +268,7 @@ prepare-release:
@if [ "$(AUTHORINO_VERSION)" = "latest" ]; then\
[ ! -e "$(AUTHORINO_IMAGE_FILE)" ] || rm $(AUTHORINO_IMAGE_FILE); \
else \
echo quay.io/kuadrant/authorino:v$(AUTHORINO_VERSION) > $(AUTHORINO_IMAGE_FILE); \
echo quay.io/kuadrant/authorino:$(AUTHORINO_IMAGE_TAG) > $(AUTHORINO_IMAGE_FILE); \
fi
$(MAKE) fix-csv-replaces

Expand Down
1 change: 1 addition & 0 deletions bundle.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ LABEL operators.operatorframework.io.bundle.manifests.v1=manifests/
LABEL operators.operatorframework.io.bundle.metadata.v1=metadata/
LABEL operators.operatorframework.io.bundle.package.v1=authorino-operator
LABEL operators.operatorframework.io.bundle.channels.v1=stable
LABEL operators.operatorframework.io.bundle.channel.default.v1=stable
LABEL operators.operatorframework.io.metrics.builder=operator-sdk-v1.22.0
LABEL operators.operatorframework.io.metrics.mediatype.v1=metrics+v1
LABEL operators.operatorframework.io.metrics.project_layout=go.kubebuilder.io/v3
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -303,7 +303,7 @@ spec:
- command:
- authorino
- webhooks
image: quay.io/kuadrant/authorino:0.15.0
image: quay.io/kuadrant/authorino:v0.15.0
name: webhooks
ports:
- containerPort: 9443
Expand Down
1 change: 1 addition & 0 deletions bundle/metadata/annotations.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ annotations:
operators.operatorframework.io.bundle.metadata.v1: metadata/
operators.operatorframework.io.bundle.package.v1: authorino-operator
operators.operatorframework.io.bundle.channels.v1: stable
operators.operatorframework.io.bundle.channel.default.v1: stable
operators.operatorframework.io.metrics.builder: operator-sdk-v1.22.0
operators.operatorframework.io.metrics.mediatype.v1: metrics+v1
operators.operatorframework.io.metrics.project_layout: go.kubebuilder.io/v3
Expand Down
2 changes: 1 addition & 1 deletion config/authorino/kustomization.template.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ resources:
images:
- name: AUTHORINO_IMAGE
newName: quay.io/kuadrant/authorino
newTag: ${AUTHORINO_VERSION}
newTag: ${AUTHORINO_IMAGE_TAG}

patchesStrategicMerge:
- webhook/patches/webhook_in_authconfigs.yaml
Expand Down
2 changes: 1 addition & 1 deletion config/authorino/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ resources:
images:
- name: AUTHORINO_IMAGE
newName: quay.io/kuadrant/authorino
newTag: 0.15.0
newTag: v0.15.0

patchesStrategicMerge:
- webhook/patches/webhook_in_authconfigs.yaml
Expand Down
2 changes: 1 addition & 1 deletion config/deploy/manifests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6199,7 +6199,7 @@ spec:
- command:
- authorino
- webhooks
image: quay.io/kuadrant/authorino:0.15.0
image: quay.io/kuadrant/authorino:v0.15.0
name: webhooks
ports:
- containerPort: 9443
Expand Down

0 comments on commit 9a530cd

Please sign in to comment.