Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

operator datasance-pot-operator (v3.4.6) #899

Open
wants to merge 5 commits into
base: main
Choose a base branch
from
Open
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
1 change: 1 addition & 0 deletions operators/datasance-pot-operator/ci.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
cert_project_id: 6724b1da4591f9fe90c6e0ee

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
---
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
metadata:
creationTimestamp: null
name: manager-role
rules:
- apiGroups:
- datasance.com
resources:
- applications
verbs:
- create
- delete
- get
- list
- patch
- update
- watch
- apiGroups:
- datasance.com
resources:
- applications/status
verbs:
- get
- patch
- update
- apiGroups:
- datasance.com
resources:
- controlplanes
verbs:
- create
- delete
- get
- list
- patch
- update
- watch
- apiGroups:
- datasance.com
resources:
- controlplanes/status
verbs:
- get
- patch
- update
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
---
apiVersion: apps/v1
kind: Deployment
metadata:
name: iofog-operator
labels:
name: iofog-operator
spec:
selector:
matchLabels:
name: iofog-operator
replicas: 1
template:
metadata:
labels:
name: iofog-operator
spec:
serviceAccountName: iofog-operator
containers:
- command:
- iofog-operator
args:
- --enable-leader-election
image: ghcr.io/datasance/operator:3.4.6
imagePullPolicy: Always
name: iofog-operator
env:
- name: WATCH_NAMESPACE
valueFrom:
fieldRef:
apiVersion: v1
fieldPath: metadata.namespace
- name: POD_NAME
valueFrom:
fieldRef:
apiVersion: v1
fieldPath: metadata.name
- name: OPERATOR_NAME
value: iofog-operator
terminationGracePeriodSeconds: 10
Original file line number Diff line number Diff line change
@@ -0,0 +1,106 @@
---
apiVersion: v1
kind: ServiceAccount
metadata:
name: iofog-operator
---
apiVersion: rbac.authorization.k8s.io/v1
kind: RoleBinding
metadata:
name: iofog-operator
roleRef:
apiGroup: rbac.authorization.k8s.io
kind: Role
name: iofog-operator
subjects:
- kind: ServiceAccount
name: iofog-operator
---
apiVersion: rbac.authorization.k8s.io/v1
kind: Role
metadata:
name: iofog-operator
rules:
- apiGroups:
- coordination.k8s.io
resources:
- leases
verbs:
- '*'
- apiGroups:
- rbac.authorization.k8s.io
resources:
- roles
- rolebindings
verbs:
- '*'
- apiGroups:
- networking.k8s.io
resources:
- ingresses
- ingresses/status
verbs:
- '*'
- apiGroups:
- datasance.com
resources:
- applications
- apps
verbs:
- create
- delete
- get
- list
- patch
- update
- watch
- apiGroups:
- datasance.com
resources:
- applications/status
- apps/finalizers
- applications/finalizers
verbs:
- get
- patch
- update
- apiGroups:
- datasance.com
resources:
- controlplanes
verbs:
- create
- delete
- get
- list
- patch
- update
- watch
- apiGroups:
- datasance.com
resources:
- controlplanes/status
- controlplanes/finalizers
verbs:
- get
- patch
- update
- apiGroups:
- apps
resources:
- deployments
verbs:
- '*'
- apiGroups:
- ""
resources:
- pods
- configmaps
- configmaps/status
- events
- serviceaccounts
- services
- persistentvolumeclaims
- secrets
verbs:
- '*'
Loading