Skip to content

Commit

Permalink
Update cass-operator to v1.3.0 (#2)
Browse files Browse the repository at this point in the history
* Update cass-operator to v1.3.0

* Added appVersion and home fields to Chart.yaml

* Added maintainer to chart

* Removed maintainer validation

* Test fixing kind action

* Add kubeconfig home directory

* Add kubeconfig home directory and file

* Removed maintainers check

* Added duration to timeout
  • Loading branch information
bradfordcp authored Jul 16, 2020
1 parent 5bbbeba commit d737624
Show file tree
Hide file tree
Showing 8 changed files with 70 additions and 9 deletions.
7 changes: 6 additions & 1 deletion .github/workflows/master.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,11 @@ jobs:
- name: Fetch history
run: git fetch --prune --unshallow

- name: Create Kubeconfig directories
run: |
mkdir ~/.kube
touch ~/.kube/config
- name: Run chart-testing (lint)
id: lint
uses: helm/[email protected]
Expand All @@ -24,7 +29,7 @@ jobs:
- name: Create kind cluster
uses: helm/[email protected]
# Only build a kind cluster if there are chart changes to test.
if: steps.lint.outputs.changed == 'true'
# if: steps.lint.outputs.changed == 'true'

- name: Run chart-testing (install)
uses: helm/[email protected]
Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/non-master.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,11 @@ jobs:

- name: Fetch history
run: git fetch --prune --unshallow

- name: Create Kubeconfig directories
run: |
mkdir ~/.kube
touch ~/.kube/config
- name: Run chart-testing (lint)
id: lint
Expand Down
8 changes: 7 additions & 1 deletion charts/cass-operator/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,10 @@
apiVersion: v2
name: cass-operator
version: 1.2.0
version: 1.3.0
description: Helm chart for Cass Operator.
appVersion: 1.3.0
home: https://github.com/datastax/cass-operator
maintainers:
- name: Cassandra Operator Team
email: [email protected]
url: https://www.datastax.com/
45 changes: 41 additions & 4 deletions charts/cass-operator/templates/customresourcedefinition.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,10 @@ spec:
spec:
description: CassandraDatacenterSpec defines the desired state of a CassandraDatacenter
properties:
additionalSeeds:
items:
type: string
type: array
allowMultipleNodesPerWorker:
description: Turning this option on allows multiple server pods to be
created on a k8s worker node. By default the operator creates just
Expand Down Expand Up @@ -1316,7 +1320,9 @@ spec:
{{- if semverCompare ">= 1.16-0" .Capabilities.KubeVersion.GitVersion }}
x-kubernetes-list-map-keys:
- containerPort
{{- if semverCompare "< 1.18-0" .Capabilities.KubeVersion.GitVersion }}
- protocol
{{- end }}
x-kubernetes-list-type: map
{{- end }}
readinessProbe:
Expand Down Expand Up @@ -3650,7 +3656,9 @@ spec:
{{- if semverCompare ">= 1.16-0" .Capabilities.KubeVersion.GitVersion }}
x-kubernetes-list-map-keys:
- containerPort
{{- if semverCompare "< 1.18-0" .Capabilities.KubeVersion.GitVersion }}
- protocol
{{- end }}
x-kubernetes-list-type: map
{{- end }}
readinessProbe:
Expand Down Expand Up @@ -5888,6 +5896,17 @@ spec:
- name
type: object
type: array
reaper:
properties:
enabled:
type: boolean
image:
type: string
imagePullPolicy:
description: PullPolicy describes a policy for if/when to pull a
container image
type: string
type: object
replaceNodes:
description: A list of pod names that need to be replaced.
items:
Expand Down Expand Up @@ -5937,6 +5956,7 @@ spec:
server configuration
enum:
- 6.8.0
- 6.8.1
- 3.11.6
- 4.0.0
type: string
Expand Down Expand Up @@ -6086,6 +6106,19 @@ spec:
description: This secret defines the username and password for the Cassandra
server superuser. If it is omitted, we will generate a secret instead.
type: string
users:
description: Cassandra users to bootstrap
items:
properties:
secretName:
type: string
superuser:
type: boolean
required:
- secretName
- superuser
type: object
type: array
required:
- clusterName
- serverType
Expand Down Expand Up @@ -6131,13 +6164,17 @@ spec:
properties:
hostID:
type: string
nodeIP:
type: string
type: object
type: object
superUserUpserted:
description: The timestamp at which CQL superuser credentials were last
upserted to the management API
description: Deprecated. Use usersUpserted instead. The timestamp at
which CQL superuser credentials were last upserted to the management
API
format: date-time
type: string
usersUpserted:
description: The timestamp at which managed cassandra users' credentials
were last upserted to the management API
format: date-time
type: string
type: object
Expand Down
6 changes: 6 additions & 0 deletions charts/cass-operator/templates/role.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -63,3 +63,9 @@ rules:
- '*'
verbs:
- '*'
- apiGroups:
- batch
resources:
- '*'
verbs:
- '*'
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.2.0"
image: "datastax/cass-operator:1.3.0"
imagePullPolicy: IfNotPresent
3 changes: 2 additions & 1 deletion ct-master.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,6 @@ chart-dirs:
- charts
chart-repos:
- bitnami=https://charts.bitnami.com/bitnami
helm-extra-args: --timeout 200
helm-extra-args: --timeout 200s
check-version-increment: true
validate-maintainers: false
3 changes: 2 additions & 1 deletion ct.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,6 @@ chart-dirs:
- charts
chart-repos:
- bitnami=https://charts.bitnami.com/bitnami
helm-extra-args: --timeout 200
helm-extra-args: --timeout 200s
check-version-increment: false
validate-maintainers: false

0 comments on commit d737624

Please sign in to comment.