Skip to content

Commit

Permalink
operator codeflare-operator (0.2.3)
Browse files Browse the repository at this point in the history
  • Loading branch information
codeflare-machine-account authored Sep 11, 2023
1 parent 65e5693 commit 9f03378
Show file tree
Hide file tree
Showing 11 changed files with 1,982 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
apiVersion: v1
data:
controller_manager_config.yaml: |
apiVersion: controller-runtime.sigs.k8s.io/v1alpha1
kind: ControllerManagerConfig
health:
healthProbeBindAddress: :8081
metrics:
bindAddress: 0.0.0.0:8080
webhook:
port: 9443
leaderElection:
leaderElect: true
resourceName: 5a3ca514.codeflare.dev
# leaderElectionReleaseOnCancel defines if the leader should step down volume
# when the Manager ends. This requires the binary to immediately end when the
# Manager is stopped, otherwise, this setting is unsafe. Setting this significantly
# speeds up voluntary leader transitions as the new leader don't have to wait
# LeaseDuration time first.
# In the default scaffold provided, the program ends immediately after
# the manager stops, so would be fine to enable this option. However,
# if you are doing or is intended to do any operation such as perform cleanups
# after the manager stops then its usage might be unsafe.
# leaderElectionReleaseOnCancel: true
kind: ConfigMap
metadata:
labels:
app.kubernetes.io/name: codeflare-operator
app.kubernetes.io/part-of: codeflare
name: codeflare-operator-manager-config
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRoleBinding
metadata:
creationTimestamp: null
labels:
app.kubernetes.io/name: codeflare-operator
app.kubernetes.io/part-of: codeflare
name: codeflare-operator-manager-edit-rolebinding
roleRef:
apiGroup: rbac.authorization.k8s.io
kind: ClusterRole
name: edit
subjects:
- kind: ServiceAccount
name: codeflare-operator-controller-manager
namespace: openshift-operators
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
apiVersion: v1
kind: Service
metadata:
creationTimestamp: null
labels:
app.kubernetes.io/name: codeflare-operator
app.kubernetes.io/part-of: codeflare
name: codeflare-operator-manager-metrics
spec:
ports:
- name: metrics
port: 8080
protocol: TCP
targetPort: metrics
selector:
app.kubernetes.io/name: codeflare-operator
app.kubernetes.io/part-of: codeflare
status:
loadBalancer: {}
Loading

0 comments on commit 9f03378

Please sign in to comment.