Skip to content

Commit

Permalink
Update operator to 1.120.1
Browse files Browse the repository at this point in the history
  • Loading branch information
yuwenma committed Jul 3, 2024
1 parent ea1db2c commit f3886e1
Show file tree
Hide file tree
Showing 16 changed files with 270,435 additions and 10 deletions.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

126,783 changes: 126,783 additions & 0 deletions operator/autopilot-channels/packages/configconnector/1.120.1/crds.yaml

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -0,0 +1,173 @@
apiVersion: v1
kind: ServiceAccount
metadata:
annotations:
cnrm.cloud.google.com/version: 1.120.1
iam.gke.io/gcp-service-account: cnrm-system-${NAMESPACE?}@${PROJECT_ID?}.iam.gserviceaccount.com
labels:
cnrm.cloud.google.com/scoped-namespace: ${NAMESPACE?}
cnrm.cloud.google.com/system: "true"
name: cnrm-controller-manager-${NAMESPACE?}
namespace: cnrm-system
---
apiVersion: rbac.authorization.k8s.io/v1
kind: RoleBinding
metadata:
annotations:
cnrm.cloud.google.com/version: 1.120.1
finalizers:
- configconnector.cnrm.cloud.google.com/finalizer
labels:
cnrm.cloud.google.com/scoped-namespace: ${NAMESPACE?}
cnrm.cloud.google.com/system: "true"
name: cnrm-admin-binding-${NAMESPACE?}
namespace: ${NAMESPACE?}
roleRef:
apiGroup: rbac.authorization.k8s.io
kind: ClusterRole
name: cnrm-admin
subjects:
- kind: ServiceAccount
name: cnrm-controller-manager-${NAMESPACE?}
namespace: cnrm-system
---
apiVersion: rbac.authorization.k8s.io/v1
kind: RoleBinding
metadata:
annotations:
cnrm.cloud.google.com/version: 1.120.1
finalizers:
- configconnector.cnrm.cloud.google.com/finalizer
labels:
cnrm.cloud.google.com/scoped-namespace: ${NAMESPACE?}
cnrm.cloud.google.com/system: "true"
name: cnrm-manager-ns-binding-${NAMESPACE?}
namespace: ${NAMESPACE?}
roleRef:
apiGroup: rbac.authorization.k8s.io
kind: ClusterRole
name: cnrm-manager-ns-role
subjects:
- kind: ServiceAccount
name: cnrm-controller-manager-${NAMESPACE?}
namespace: cnrm-system
---
apiVersion: rbac.authorization.k8s.io/v1
kind: RoleBinding
metadata:
annotations:
cnrm.cloud.google.com/version: 1.120.1
labels:
cnrm.cloud.google.com/scoped-namespace: ${NAMESPACE?}
cnrm.cloud.google.com/system: "true"
name: cnrm-manager-ns-binding-${NAMESPACE?}
namespace: cnrm-system
roleRef:
apiGroup: rbac.authorization.k8s.io
kind: ClusterRole
name: cnrm-manager-ns-role
subjects:
- kind: ServiceAccount
name: cnrm-controller-manager-${NAMESPACE?}
namespace: cnrm-system
---
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRoleBinding
metadata:
annotations:
cnrm.cloud.google.com/version: 1.120.1
labels:
cnrm.cloud.google.com/scoped-namespace: ${NAMESPACE?}
cnrm.cloud.google.com/system: "true"
name: cnrm-manager-cluster-binding-${NAMESPACE?}
roleRef:
apiGroup: rbac.authorization.k8s.io
kind: ClusterRole
name: cnrm-manager-cluster-role
subjects:
- kind: ServiceAccount
name: cnrm-controller-manager-${NAMESPACE?}
namespace: cnrm-system
---
apiVersion: v1
kind: Service
metadata:
annotations:
cnrm.cloud.google.com/version: 1.120.1
prometheus.io/port: "8888"
prometheus.io/scrape: "true"
labels:
cnrm.cloud.google.com/monitored: "true"
cnrm.cloud.google.com/scoped-namespace: ${NAMESPACE?}
cnrm.cloud.google.com/system: "true"
name: cnrm-manager-${NAMESPACE?}
namespace: cnrm-system
spec:
ports:
- name: controller-manager
port: 443
- name: metrics
port: 8888
selector:
cnrm.cloud.google.com/component: cnrm-controller-manager
cnrm.cloud.google.com/scoped-namespace: ${NAMESPACE?}
cnrm.cloud.google.com/system: "true"
---
apiVersion: apps/v1
kind: StatefulSet
metadata:
annotations:
cnrm.cloud.google.com/version: 1.120.1
labels:
cnrm.cloud.google.com/component: cnrm-controller-manager
cnrm.cloud.google.com/scoped-namespace: ${NAMESPACE?}
cnrm.cloud.google.com/system: "true"
name: cnrm-controller-manager-${NAMESPACE?}
namespace: cnrm-system
spec:
selector:
matchLabels:
cnrm.cloud.google.com/component: cnrm-controller-manager
cnrm.cloud.google.com/scoped-namespace: ${NAMESPACE?}
cnrm.cloud.google.com/system: "true"
serviceName: cnrm-manager-${NAMESPACE?}
template:
metadata:
annotations:
cnrm.cloud.google.com/version: 1.120.1
labels:
cnrm.cloud.google.com/component: cnrm-controller-manager
cnrm.cloud.google.com/scoped-namespace: ${NAMESPACE?}
cnrm.cloud.google.com/system: "true"
spec:
containers:
- args:
- --scoped-namespace=${NAMESPACE?}
- --prometheus-scrape-endpoint=:8888
command:
- /configconnector/manager
image: gcr.io/gke-release/cnrm/controller:95ba956
imagePullPolicy: Always
name: manager
ports:
- containerPort: 23232
readinessProbe:
httpGet:
path: /ready
port: 23232
initialDelaySeconds: 7
periodSeconds: 3
resources:
limits:
memory: 512Mi
requests:
cpu: 100m
memory: 512Mi
securityContext:
allowPrivilegeEscalation: false
privileged: false
runAsNonRoot: true
runAsUser: 1000
enableServiceLinks: false
serviceAccountName: cnrm-controller-manager-${NAMESPACE?}
terminationGracePeriodSeconds: 10
2 changes: 1 addition & 1 deletion operator/autopilot-channels/stable
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
manifests:
- version: 1.119.0
- version: 1.120.1
Loading

0 comments on commit f3886e1

Please sign in to comment.