Closed joelsmith closed 1 year ago
It appears that there are some changes in the operand repo's manifests which need to be taken into account here:
keda-operator
seems to want to create a secret with certs in it and requires the following (or equivalent privs):
---
apiVersion: rbac.authorization.k8s.io/v1
kind: Role
metadata:
name: foo
namespace: keda
rules:
apiVersion: rbac.authorization.k8s.io/v1 kind: RoleBinding metadata: name: foo namespace: keda roleRef: apiGroup: rbac.authorization.k8s.io kind: Role name: foo subjects:
/certs
volume into the metrics server deployment, but it seems that the new version of the deployment already has that volume and the two are conflicting.It appears that there are some changes in the operand repo's manifests which need to be taken into account here:
* The `keda-operator` seems to want to create a secret with certs in it and requires the following (or equivalent privs):
--- apiVersion: rbac.authorization.k8s.io/v1 kind: Role metadata: name: foo namespace: keda rules: - apiGroups: - "" resources: - secrets verbs: - create - get - update --- apiVersion: rbac.authorization.k8s.io/v1 kind: RoleBinding metadata: name: foo namespace: keda roleRef: apiGroup: rbac.authorization.k8s.io kind: Role name: foo subjects: - kind: ServiceAccount name: keda-operator namespace: keda
* It appears that the olm operator is trying to inject a `/certs` volume into the metrics server deployment, but it seems that the new version of the deployment already has that volume and the two are conflicting.
you are right, this is a new change introduced in 2.10 upstream
thx for the ping. I see what it is. its because "2.10" is alphabetically not following "2.9". I made the script to compare the 2 last dirs but I think Im gonna have to parse the number and then take 2 last ones. Ill make a fix
thx for the ping. I see what it is. its because "2.10" is alphabetically not following "2.9". I made the script to compare the 2 last dirs but I think Im gonna have to parse the number and then take 2 last ones. Ill make a fix
@gauron99 could we leverage any existing library/tool to compare sem versions?
Diff 2.9.3/manifests/keda.sh_scaledjobs.yaml
\& 2.8.2/manifests/keda.sh_scaledjobs.yaml
Diff 2.9.3/manifests/keda.sh_scaledobjects.yaml
\& 2.8.2/manifests/keda.sh_scaledobjects.yaml
Diff output of 2.9.3/manifests/keda.sh_kedacontrollers.yaml
is too large - character limit 65536 exceeded for github comment
Diff 2.9.3/manifests/keda.sh_clustertriggerauthentications.yaml
\& 2.8.2/manifests/keda.sh_clustertriggerauthentications.yaml
Diff 2.9.3/manifests/keda.v2.9.3.clusterserviceversion.yaml
\& 2.8.2/manifests/keda.v2.8.2.clusterserviceversion.yaml
Diff 2.9.3/metadata/annotations.yaml
\& 2.8.2/metadata/annotations.yaml
This PR adds support for features added in the operands in 2.10.x and makes all necessary changes to be ready for the 2.10.1 release, specifically:
keda.yaml
file, we need resources which are introduced in this repo to live in a separate file so that they won't be overwritten and lost each time the the release happens.Checklist