Skip to content

Commit

Permalink
fix: change contriller-manager labels
Browse files Browse the repository at this point in the history
  • Loading branch information
bococ committed Nov 3, 2023
1 parent 1600275 commit 71ebfa9
Show file tree
Hide file tree
Showing 3 changed files with 33 additions and 41 deletions.
24 changes: 10 additions & 14 deletions bundle/manifests/spark-k8s-operator.clusterserviceversion.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,17 +29,7 @@ metadata:
"nginx.ingress.kubernetes.io/rewrite-target": "/"
},
"enabled": true,
"hosts": [
{
"host": "spark-history-server.example.com",
"paths": [
{
"path": "/",
"pathType": "ImplementationSpecific"
}
]
}
]
"host": "spark-history-server.example.com"
},
"persistence": {
"accessMode": "ReadWriteOnce",
Expand All @@ -66,7 +56,7 @@ metadata:
}
]
capabilities: Basic Install
createdAt: "2023-10-24T01:44:48Z"
createdAt: "2023-11-03T07:01:15Z"
operators.operatorframework.io/builder: operator-sdk-v1.32.0
operators.operatorframework.io/project_layout: go.kubebuilder.io/v4-alpha
name: spark-k8s-operator.v0.0.1-alpha
Expand Down Expand Up @@ -198,10 +188,10 @@ spec:
deployments:
- label:
app.kubernetes.io/component: manager
app.kubernetes.io/created-by: spark-k8s-operator
app.kubernetes.io/created-by: operator-lifecycle-manager
app.kubernetes.io/instance: controller-manager
app.kubernetes.io/managed-by: kustomize
app.kubernetes.io/name: deployment
app.kubernetes.io/name: spark-k8s-operator
app.kubernetes.io/part-of: spark-k8s-operator
control-plane: controller-manager
name: spark-k8s-operator-controller-manager
Expand All @@ -216,6 +206,12 @@ spec:
annotations:
kubectl.kubernetes.io/default-container: manager
labels:
app.kubernetes.io/component: manager
app.kubernetes.io/created-by: operator-lifecycle-manager
app.kubernetes.io/instance: controller-manager
app.kubernetes.io/managed-by: kustomize
app.kubernetes.io/name: spark-k8s-operator
app.kubernetes.io/part-of: spark-k8s-operator
control-plane: controller-manager
spec:
affinity:
Expand Down
40 changes: 15 additions & 25 deletions bundle/manifests/stack.zncdata.net_sparkhistoryservers.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -62,29 +62,9 @@ spec:
enabled:
default: true
type: boolean
hosts:
items:
properties:
host:
default: spark-history-server.example.coom
type: string
paths:
items:
properties:
path:
default: /
type: string
pathType:
default: ImplementationSpecific
description: PathType represents the type of path
referred to by a HTTPIngressPath.
type: string
type: object
type: array
required:
- paths
type: object
type: array
host:
default: spark-history-server.example.com
type: string
tls:
description: IngressTLS describes the transport layer security
associated with an ingress.
Expand All @@ -108,8 +88,6 @@ spec:
and value of the "Host" header is used for routing.
type: string
type: object
required:
- hosts
type: object
labels:
additionalProperties:
Expand Down Expand Up @@ -462,6 +440,18 @@ spec:
- type
type: object
type: array
urls:
items:
properties:
name:
type: string
url:
type: string
required:
- name
- url
type: object
type: array
type: object
type: object
served: true
Expand Down
10 changes: 8 additions & 2 deletions config/manager/manager.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,10 @@ metadata:
namespace: system
labels:
control-plane: controller-manager
app.kubernetes.io/name: deployment
app.kubernetes.io/name: spark-k8s-operator
app.kubernetes.io/instance: controller-manager
app.kubernetes.io/component: manager
app.kubernetes.io/created-by: spark-k8s-operator
app.kubernetes.io/created-by: operator-lifecycle-manager
app.kubernetes.io/part-of: spark-k8s-operator
app.kubernetes.io/managed-by: kustomize
spec:
Expand All @@ -35,6 +35,12 @@ spec:
kubectl.kubernetes.io/default-container: manager
labels:
control-plane: controller-manager
app.kubernetes.io/name: spark-k8s-operator
app.kubernetes.io/instance: controller-manager
app.kubernetes.io/component: manager
app.kubernetes.io/created-by: operator-lifecycle-manager
app.kubernetes.io/part-of: spark-k8s-operator
app.kubernetes.io/managed-by: kustomize
spec:
# TODO(user): Uncomment the following code to configure the nodeAffinity expression
# according to the platforms which are supported by your solution.
Expand Down

0 comments on commit 71ebfa9

Please sign in to comment.