Skip to content

Commit

Permalink
Add cass-operator v1.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
bradfordcp committed Jul 16, 2020
1 parent 32c203d commit 5bbbeba
Show file tree
Hide file tree
Showing 6 changed files with 5,852 additions and 11 deletions.
2 changes: 1 addition & 1 deletion charts/cass-operator/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
apiVersion: v2
name: cass-operator
version: 1.1.0
version: 1.2.0
description: Helm chart for Cass Operator.
5,836 changes: 5,830 additions & 6 deletions charts/cass-operator/templates/customresourcedefinition.yaml

Large diffs are not rendered by default.

11 changes: 11 additions & 0 deletions charts/cass-operator/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,9 @@ spec:
spec:
serviceAccountName: {{ .Values.serviceAccountName }}
volumes:
- name: tmpconfig-volume
emptyDir:
medium: "Memory"
- name: cass-operator-certs-volume
secret:
secretName: cass-operator-webhook-config
Expand All @@ -25,6 +28,14 @@ spec:
- mountPath: /tmp/k8s-webhook-server/serving-certs
name: cass-operator-certs-volume
readOnly: false
- mountPath: /tmp/
name: tmpconfig-volume
readOnly: false
securityContext:
runAsUser: 65534
runAsGroup: 65534
allowPrivilegeEscalation: false
readOnlyRootFilesystem: true
livenessProbe:
exec:
command:
Expand Down
2 changes: 1 addition & 1 deletion charts/cass-operator/templates/service.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,6 @@ metadata:
spec:
ports:
- port: 443
targetPort: 443
targetPort: 8443
selector:
name: cass-operator
Original file line number Diff line number Diff line change
Expand Up @@ -7,16 +7,22 @@ webhooks:
rules:
- apiGroups: ["cassandra.datastax.com"]
apiVersions: ["v1beta1"]
operations: ["CREATE", "UPDATE", "DELETE"]
operations: ["CREATE", "UPDATE"]
resources: ["cassandradatacenters"]
{{- if semverCompare ">= 1.14-0" .Capabilities.KubeVersion.GitVersion }}
scope: "*"
{{- end }}
clientConfig:
service:
name: "cassandradatacenter-webhook-service"
namespace: {{ .Release.Namespace }}
path: /validate-cassandra-datastax-com-v1beta1-cassandradatacenter
{{- if semverCompare ">= 1.14-0" .Capabilities.KubeVersion.GitVersion }}
admissionReviewVersions: ["v1beta1"]
timeoutSeconds: 10
{{- end }}
failurePolicy: "Ignore"
{{- if semverCompare ">= 1.15-0" .Capabilities.KubeVersion.GitVersion }}
matchPolicy: "Equivalent"
{{- end }}
sideEffects: None
timeoutSeconds: 10
2 changes: 1 addition & 1 deletion charts/cass-operator/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,5 @@ roleName: cass-operator
roleBindingName: cass-operator
deploymentName: cass-operator
deploymentReplicas: 1
image: "datastax/cass-operator:1.1.0"
image: "datastax/cass-operator:1.2.0"
imagePullPolicy: IfNotPresent

0 comments on commit 5bbbeba

Please sign in to comment.