Skip to content

Commit

Permalink
[amq-broker-operator] remove namespace manifest
Browse files Browse the repository at this point in the history
Signed-off-by: Tiago Bueno <49003339+tlbueno@users.noreply.github.com>
  • Loading branch information
tlbueno committed May 28, 2024
1 parent 05a7274 commit 18538dd
Show file tree
Hide file tree
Showing 13 changed files with 9 additions and 25 deletions.
2 changes: 1 addition & 1 deletion charts/amq-broker-operator/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ type: application
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
version: 0.2.0
version: 0.2.1

# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application. Versions are not expected to
Expand Down
4 changes: 0 additions & 4 deletions charts/amq-broker-operator/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,10 +50,6 @@ Default values:
# watching specific namespaces otherwise it can have unexpected behavior
install_crds: true

namespace:
# namespace where the operator will be installed
name: amq-broker-operator

operator:
watch:
# operator watch namespace mode
Expand Down
5 changes: 0 additions & 5 deletions charts/amq-broker-operator/templates/Namespace.yaml

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,6 @@ roleRef:
subjects:
- kind: ServiceAccount
name: amq-broker-controller-manager
namespace: {{ .Values.namespace.name }}
namespace: {{ .Release.Namespace }}
{{- end }}

2 changes: 1 addition & 1 deletion charts/amq-broker-operator/templates/election_role.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: rbac.authorization.k8s.io/v1
kind: Role
metadata:
name: amq-broker-leader-election-role
namespace: {{ .Values.namespace.name }}
namespace: {{ .Release.Namespace }}
rules:
- apiGroups:
- ""
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: rbac.authorization.k8s.io/v1
kind: RoleBinding
metadata:
name: amq-broker-leader-election-rolebinding
namespace: {{ .Values.namespace.name }}
namespace: {{ .Release.Namespace }}
roleRef:
apiGroup: rbac.authorization.k8s.io
kind: Role
Expand Down
2 changes: 1 addition & 1 deletion charts/amq-broker-operator/templates/operator.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ metadata:
labels:
control-plane: controller-manager
name: amq-broker-controller-manager
namespace: {{ .Values.namespace.name }}
namespace: {{ .Release.Namespace }}
spec:
replicas: 1
selector:
Expand Down
2 changes: 1 addition & 1 deletion charts/amq-broker-operator/templates/role.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ apiVersion: rbac.authorization.k8s.io/v1
kind: Role
metadata:
name: amq-broker-operator-role
namespace: {{ .Values.namespace.name }}
namespace: {{ .Release.Namespace }}
rules:
- apiGroups:
- ""
Expand Down
2 changes: 1 addition & 1 deletion charts/amq-broker-operator/templates/role_binding.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ apiVersion: rbac.authorization.k8s.io/v1
kind: RoleBinding
metadata:
name: amq-broker-operator-rolebinding
namespace: {{ .Values.namespace.name }}
namespace: {{ .Release.Namespace }}
roleRef:
apiGroup: rbac.authorization.k8s.io
kind: Role
Expand Down
2 changes: 1 addition & 1 deletion charts/amq-broker-operator/templates/service_account.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ apiVersion: v1
kind: ServiceAccount
metadata:
name: amq-broker-controller-manager
namespace: {{ .Values.namespace.name }}
namespace: {{ .Release.Namespace }}
4 changes: 0 additions & 4 deletions charts/amq-broker-operator/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,6 @@
# watching specific namespaces otherwise it can have unexpected behavior
install_crds: true

namespace:
# namespace where the operator will be installed
name: amq-broker-operator

operator:
watch:
# operator watch namespace mode
Expand Down
4 changes: 0 additions & 4 deletions charts/artemiscloud-operator/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,10 +53,6 @@ Default values:
# watching specific namespaces otherwise it can have unexpected behavior
install_crds: true

namespace:
# namespace where the operator will be installed
name: artemiscloud-operator

operator:
watch:
# operator watch namespace mode
Expand Down
1 change: 1 addition & 0 deletions charts/olm-operator-installer/templates/Namespace.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,4 @@ metadata:
{{ .name }}: {{ tpl .value $ }}
{{- end }}
{{- end }}

0 comments on commit 18538dd

Please sign in to comment.