fix bundle generation scripts and manifests

This commit is contained in:
Luca Burgazzoli 2023-08-24 12:32:10 +02:00
parent a481c4a9ab
commit fb3af6c55b
No known key found for this signature in database
GPG Key ID: 238C46A40510C1A9
8 changed files with 16 additions and 17 deletions

View File

@ -6,7 +6,7 @@ domain: dapr.io
layout:
- go.kubebuilder.io/v4
multigroup: true
projectName: dapr-operator-ng
projectName: dapr-kubernetes-operator
repo: github.com/dapr-sandbox/dapr-kubernetes-operator
resources:
- api:
@ -14,8 +14,8 @@ resources:
namespaced: true
controller: true
domain: dapr.io
group: tools
kind: Dapr
path: github.com/dapr-sandbox/dapr-kubernetes-operator/api/tools/v1alpha1
group: operator
kind: DaprControlPlane
path: github.com/dapr-sandbox/dapr-kubernetes-operator/api/operator/v1alpha1
version: v1alpha1
version: "3"

View File

@ -22,7 +22,7 @@ limitations under the License.
package v1alpha1
import (
v1 "k8s.io/apimachinery/pkg/apis/meta/v1"
"k8s.io/apimachinery/pkg/apis/meta/v1"
runtime "k8s.io/apimachinery/pkg/runtime"
)

View File

@ -8,5 +8,5 @@ apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
images:
- name: controller
newName: ttl.sh/57e2fb88-57e2-4344-8b69-4364dd4f8b9b
newTag: 2h
newName: ghcr.io/dapr-sandbox/dapr-kubernetes-operator
newTag: 0.0.3

View File

@ -3,11 +3,11 @@ kind: ClusterServiceVersion
metadata:
annotations:
alm-examples: "[]"
capabilities: Basic Install
categories: Dapr
capabilities: "Basic Install"
categories: "Application Runtime"
certified: "false"
containerImage: ""
name: dapr-operator-ng.v0.0.0
name: dapr-kubernetes-operator.v0.0.0
namespace: placeholder
spec:
apiservicedefinitions: {}

View File

@ -1,7 +1,7 @@
# These resources constitute the fully configured set of manifests
# used to generate the 'manifests/' directory in a bundle.
resources:
- bases/dapr-operator-ng.clusterserviceversion.yaml
- bases/dapr-kubernetes-operator.clusterserviceversion.yaml
- ../default
- ../samples
- ../scorecard

View File

@ -6,12 +6,11 @@ metadata:
labels:
control-plane: dapr-control-plane
app.kubernetes.io/name: servicemonitor
app.kubernetes.io/instance: dapr-controller-metrics-monitor
app.kubernetes.io/instance: dapr-control-plane-metrics-monitor
app.kubernetes.io/component: metrics
app.kubernetes.io/created-by: dapr-operator-ng
app.kubernetes.io/part-of: dapr-operator-ng
app.kubernetes.io/part-of: dapr-control-plane
app.kubernetes.io/managed-by: kustomize
name: dapr-controller-metrics-monitor
name: dapr-control-plane-metrics-monitor
namespace: dapr-system
spec:
endpoints:

View File

@ -5,7 +5,7 @@ metadata:
namespace: openshift-operators
spec:
channel: alpha
name: dapr-operator-ng
name: dapr-kubernetes-operator
installPlanApproval: Automatic
source: daprio-catalog
sourceNamespace: openshift-marketplace

View File

@ -8,7 +8,7 @@ PROJECT_ROOT="$1"
BUNDLE_NAME="$2"
BUNDLE_VERSION="$3"
rm -rf "${PROJECT_ROOT}/bundle/dapr-operator-ng"
rm -rf "${PROJECT_ROOT}/bundle/${BUNDLE_NAME}"
mkdir -p "${PROJECT_ROOT}/bundle"
cd "${PROJECT_ROOT}/bundle" || exit