Skip to content
Draft
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
4 changes: 2 additions & 2 deletions hack/manifest-diff.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,11 @@

set -euo pipefail

CVO_FEATURE_SET="DevPreviewNoUpgrade"
CVO_FEATURE_GATE="KarpenterOperator"
CVO_ANNOTATIONS_YQ='
.metadata.annotations["exclude.release.openshift.io/internal-openshift-hosted"] = "true" |
.metadata.annotations["include.release.openshift.io/self-managed-high-availability"] = "true" |
.metadata.annotations["release.openshift.io/feature-set"] = "'"${CVO_FEATURE_SET}"'"
.metadata.annotations["release.openshift.io/feature-gate"] = "'"${CVO_FEATURE_GATE}"'"
'

NAMESPACE="openshift-karpenter"
Expand Down
2 changes: 1 addition & 1 deletion install/00_credentials-request-aws.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ metadata:
capability.openshift.io/name: CloudCredential
exclude.release.openshift.io/internal-openshift-hosted: "true"
include.release.openshift.io/self-managed-high-availability: "true"
release.openshift.io/feature-set: DevPreviewNoUpgrade
release.openshift.io/feature-gate: KarpenterOperator
spec:
serviceAccountNames:
- karpenter
Expand Down
2 changes: 1 addition & 1 deletion install/00_namespace.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,6 @@ metadata:
workload.openshift.io/allowed: management
exclude.release.openshift.io/internal-openshift-hosted: "true"
include.release.openshift.io/self-managed-high-availability: "true"
release.openshift.io/feature-set: DevPreviewNoUpgrade
release.openshift.io/feature-gate: KarpenterOperator
labels:
openshift.io/cluster-monitoring: "true"
2 changes: 1 addition & 1 deletion install/03_aggregate-clusterrole.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ metadata:
annotations:
exclude.release.openshift.io/internal-openshift-hosted: "true"
include.release.openshift.io/self-managed-high-availability: "true"
release.openshift.io/feature-set: DevPreviewNoUpgrade
release.openshift.io/feature-gate: KarpenterOperator
rules:
- apiGroups: ["karpenter.sh"]
resources: ["nodepools", "nodepools/status", "nodeclaims", "nodeclaims/status"]
Expand Down
22 changes: 11 additions & 11 deletions install/04_rbac.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ metadata:
annotations:
exclude.release.openshift.io/internal-openshift-hosted: "true"
include.release.openshift.io/self-managed-high-availability: "true"
release.openshift.io/feature-set: DevPreviewNoUpgrade
release.openshift.io/feature-gate: KarpenterOperator
---
apiVersion: rbac.authorization.k8s.io/v1
kind: Role
Expand All @@ -20,7 +20,7 @@ metadata:
annotations:
exclude.release.openshift.io/internal-openshift-hosted: "true"
include.release.openshift.io/self-managed-high-availability: "true"
release.openshift.io/feature-set: DevPreviewNoUpgrade
release.openshift.io/feature-gate: KarpenterOperator
rules:
- apiGroups: ["coordination.k8s.io"]
resources: ["leases"]
Expand Down Expand Up @@ -51,7 +51,7 @@ metadata:
annotations:
exclude.release.openshift.io/internal-openshift-hosted: "true"
include.release.openshift.io/self-managed-high-availability: "true"
release.openshift.io/feature-set: DevPreviewNoUpgrade
release.openshift.io/feature-gate: KarpenterOperator
roleRef:
apiGroup: rbac.authorization.k8s.io
kind: Role
Expand All @@ -68,7 +68,7 @@ metadata:
annotations:
exclude.release.openshift.io/internal-openshift-hosted: "true"
include.release.openshift.io/self-managed-high-availability: "true"
release.openshift.io/feature-set: DevPreviewNoUpgrade
release.openshift.io/feature-gate: KarpenterOperator
rules:
- apiGroups: ["config.openshift.io"]
resources: ["clusteroperators", "clusteroperators/status"]
Expand All @@ -90,7 +90,7 @@ metadata:
annotations:
exclude.release.openshift.io/internal-openshift-hosted: "true"
include.release.openshift.io/self-managed-high-availability: "true"
release.openshift.io/feature-set: DevPreviewNoUpgrade
release.openshift.io/feature-gate: KarpenterOperator
subjects:
- kind: ServiceAccount
name: karpenter-operator
Expand All @@ -109,7 +109,7 @@ metadata:
annotations:
exclude.release.openshift.io/internal-openshift-hosted: "true"
include.release.openshift.io/self-managed-high-availability: "true"
release.openshift.io/feature-set: DevPreviewNoUpgrade
release.openshift.io/feature-gate: KarpenterOperator
rules:
- apiGroups: [""]
resources: ["services"]
Expand All @@ -124,7 +124,7 @@ metadata:
annotations:
exclude.release.openshift.io/internal-openshift-hosted: "true"
include.release.openshift.io/self-managed-high-availability: "true"
release.openshift.io/feature-set: DevPreviewNoUpgrade
release.openshift.io/feature-gate: KarpenterOperator
roleRef:
apiGroup: rbac.authorization.k8s.io
kind: Role
Expand All @@ -141,7 +141,7 @@ metadata:
annotations:
exclude.release.openshift.io/internal-openshift-hosted: "true"
include.release.openshift.io/self-managed-high-availability: "true"
release.openshift.io/feature-set: DevPreviewNoUpgrade
release.openshift.io/feature-gate: KarpenterOperator
rules:
# Read
- apiGroups: ["karpenter.sh"]
Expand Down Expand Up @@ -197,7 +197,7 @@ metadata:
annotations:
exclude.release.openshift.io/internal-openshift-hosted: "true"
include.release.openshift.io/self-managed-high-availability: "true"
release.openshift.io/feature-set: DevPreviewNoUpgrade
release.openshift.io/feature-gate: KarpenterOperator
subjects:
- kind: ServiceAccount
name: karpenter-operator
Expand All @@ -215,7 +215,7 @@ metadata:
annotations:
exclude.release.openshift.io/internal-openshift-hosted: "true"
include.release.openshift.io/self-managed-high-availability: "true"
release.openshift.io/feature-set: DevPreviewNoUpgrade
release.openshift.io/feature-gate: KarpenterOperator
rules:
# Read
- apiGroups: ["coordination.k8s.io"]
Expand All @@ -241,7 +241,7 @@ metadata:
annotations:
exclude.release.openshift.io/internal-openshift-hosted: "true"
include.release.openshift.io/self-managed-high-availability: "true"
release.openshift.io/feature-set: DevPreviewNoUpgrade
release.openshift.io/feature-gate: KarpenterOperator
subjects:
- kind: ServiceAccount
name: karpenter-operator
Expand Down
2 changes: 1 addition & 1 deletion install/05_deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ metadata:
annotations:
exclude.release.openshift.io/internal-openshift-hosted: "true"
include.release.openshift.io/self-managed-high-availability: "true"
release.openshift.io/feature-set: DevPreviewNoUpgrade
release.openshift.io/feature-gate: KarpenterOperator
spec:
replicas: 1
selector:
Expand Down
2 changes: 1 addition & 1 deletion install/06_clusteroperator.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ metadata:
annotations:
exclude.release.openshift.io/internal-openshift-hosted: "true"
include.release.openshift.io/self-managed-high-availability: "true"
release.openshift.io/feature-set: DevPreviewNoUpgrade
release.openshift.io/feature-gate: KarpenterOperator
spec: {}
status:
versions:
Expand Down