Skip to content
This repository has been archived by the owner on Sep 2, 2022. It is now read-only.

Commit

Permalink
Update helm chart CRD (Auto generated by CircleCI)
Browse files Browse the repository at this point in the history
  • Loading branch information
hongyegong committed Feb 28, 2021
1 parent f697b3e commit 0310df7
Show file tree
Hide file tree
Showing 2 changed files with 209 additions and 31 deletions.
179 changes: 177 additions & 2 deletions helm-chart/flink-operator/templates/flink-cluster-crd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -726,6 +726,10 @@ spec:
additionalProperties:
type: string
type: object
podLabels:
additionalProperties:
type: string
type: object
resources:
properties:
limits:
Expand All @@ -752,6 +756,59 @@ spec:
type: integer
savepointsDir:
type: string
securityContext:
properties:
fsGroup:
format: int64
type: integer
fsGroupChangePolicy:
type: string
runAsGroup:
format: int64
type: integer
runAsNonRoot:
type: boolean
runAsUser:
format: int64
type: integer
seLinuxOptions:
properties:
level:
type: string
role:
type: string
type:
type: string
user:
type: string
type: object
supplementalGroups:
items:
format: int64
type: integer
type: array
sysctls:
items:
properties:
name:
type: string
value:
type: string
required:
- name
- value
type: object
type: array
windowsOptions:
properties:
gmsaCredentialSpec:
type: string
gmsaCredentialSpecName:
type: string
runAsUserName:
type: string
type: object
type: object
volumeMounts:
items:
properties:
Expand Down Expand Up @@ -1959,6 +2016,10 @@ spec:
additionalProperties:
type: string
type: object
podLabels:
additionalProperties:
type: string
type: object
ports:
properties:
blob:
Expand Down Expand Up @@ -1996,6 +2057,59 @@ spec:
x-kubernetes-int-or-string: true
type: object
type: object
securityContext:
properties:
fsGroup:
format: int64
type: integer
fsGroupChangePolicy:
type: string
runAsGroup:
format: int64
type: integer
runAsNonRoot:
type: boolean
runAsUser:
format: int64
type: integer
seLinuxOptions:
properties:
level:
type: string
role:
type: string
type:
type: string
user:
type: string
type: object
supplementalGroups:
items:
format: int64
type: integer
type: array
sysctls:
items:
properties:
name:
type: string
value:
type: string
required:
- name
- value
type: object
type: array
windowsOptions:
properties:
gmsaCredentialSpec:
type: string
gmsaCredentialSpecName:
type: string
runAsUserName:
type: string
type: object
type: object
sidecars:
items:
properties:
Expand Down Expand Up @@ -3168,9 +3282,13 @@ spec:
additionalProperties:
type: string
type: object
recreateOnUpdate:
type: boolean
revisionHistoryLimit:
format: int32
type: integer
serviceAccountName:
type: string
taskManager:
properties:
extraPorts:
Expand Down Expand Up @@ -3746,6 +3864,10 @@ spec:
additionalProperties:
type: string
type: object
podLabels:
additionalProperties:
type: string
type: object
ports:
properties:
data:
Expand Down Expand Up @@ -3780,6 +3902,59 @@ spec:
x-kubernetes-int-or-string: true
type: object
type: object
securityContext:
properties:
fsGroup:
format: int64
type: integer
fsGroupChangePolicy:
type: string
runAsGroup:
format: int64
type: integer
runAsNonRoot:
type: boolean
runAsUser:
format: int64
type: integer
seLinuxOptions:
properties:
level:
type: string
role:
type: string
type:
type: string
user:
type: string
type: object
supplementalGroups:
items:
format: int64
type: integer
type: array
sysctls:
items:
properties:
name:
type: string
value:
type: string
required:
- name
- value
type: object
type: array
windowsOptions:
properties:
gmsaCredentialSpec:
type: string
gmsaCredentialSpecName:
type: string
runAsUserName:
type: string
type: object
type: object
sidecars:
items:
properties:
Expand Down Expand Up @@ -4976,10 +5151,10 @@ spec:
type: string
id:
type: string
lastSavepointTime:
type: string
lastSavepointTriggerTime:
type: string
lastSavepointTime:
type: string
lastSavepointTriggerID:
type: string
name:
Expand Down
61 changes: 32 additions & 29 deletions helm-chart/flink-operator/templates/flink-operator.yaml
Original file line number Diff line number Diff line change
@@ -1,37 +1,10 @@
{{- if .Values.rbac.create }}
{{- if .Values.flinkOperatorNamespace.create }}
apiVersion: v1
kind: Namespace
metadata:
labels:
control-plane: controller-manager
name: {{ .Values.flinkOperatorNamespace.name }}
{{- end }}
---
apiVersion: admissionregistration.k8s.io/v1beta1
kind: MutatingWebhookConfiguration
metadata:
creationTimestamp: null
name: flink-operator-mutating-webhook-configuration
webhooks:
- clientConfig:
caBundle: Cg==
service:
name: flink-operator-webhook-service
namespace: {{ .Values.flinkOperatorNamespace.name }}
path: /mutate-flinkoperator-k8s-io-v1beta1-flinkcluster
failurePolicy: Fail
name: mflinkcluster.flinkoperator.k8s.io
rules:
- apiGroups:
- flinkoperator.k8s.io
apiVersions:
- v1beta1
operations:
- CREATE
- UPDATE
resources:
- flinkclusters
---
apiVersion: rbac.authorization.k8s.io/v1
kind: Role
Expand Down Expand Up @@ -364,13 +337,18 @@ spec:
command:
- /flink-operator
image: {{ .Values.operatorImage.name }}
imagePullPolicy: {{ .Values.operatorImage.pullPolicy }}
name: flink-operator
ports:
- containerPort: 443
name: webhook-server
protocol: TCP
resources: {{ .Values.resources | toYaml | nindent 10 }}
resources:
limits:
cpu: 100m
memory: 30Mi
requests:
cpu: 100m
memory: 20Mi
volumeMounts:
- mountPath: /tmp/k8s-webhook-server/serving-certs
name: cert
Expand All @@ -383,6 +361,31 @@ spec:
secretName: webhook-server-cert
---
apiVersion: admissionregistration.k8s.io/v1beta1
kind: MutatingWebhookConfiguration
metadata:
creationTimestamp: null
name: flink-operator-mutating-webhook-configuration
webhooks:
- clientConfig:
caBundle: Cg==
service:
name: flink-operator-webhook-service
namespace: {{ .Values.flinkOperatorNamespace.name }}
path: /mutate-flinkoperator-k8s-io-v1beta1-flinkcluster
failurePolicy: Fail
name: mflinkcluster.flinkoperator.k8s.io
rules:
- apiGroups:
- flinkoperator.k8s.io
apiVersions:
- v1beta1
operations:
- CREATE
- UPDATE
resources:
- flinkclusters
---
apiVersion: admissionregistration.k8s.io/v1beta1
kind: ValidatingWebhookConfiguration
metadata:
creationTimestamp: null
Expand Down

0 comments on commit 0310df7

Please sign in to comment.