Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix bundle generation scripts and manifests #15

Merged
merged 1 commit into from
Aug 31, 2023
Merged
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
8 changes: 4 additions & 4 deletions PROJECT
Original file line number Diff line number Diff line change
Expand Up @@ -6,16 +6,16 @@ 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:
crdVersion: v1
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"
2 changes: 1 addition & 1 deletion api/operator/v1alpha1/zz_generated.deepcopy.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions config/manager/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Original file line number Diff line number Diff line change
Expand Up @@ -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: {}
Expand Down
2 changes: 1 addition & 1 deletion config/manifests/kustomization.yaml
Original file line number Diff line number Diff line change
@@ -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
7 changes: 3 additions & 4 deletions config/prometheus/monitor.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
2 changes: 1 addition & 1 deletion config/samples/olm/subscription.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 1 addition & 1 deletion hack/scripts/gen_bundle.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down