Skip to content

Commit

Permalink
remove cassandra custom crt
Browse files Browse the repository at this point in the history
  • Loading branch information
simisimis committed Mar 8, 2024
1 parent 5404a88 commit 578ebb6
Showing 1 changed file with 1 addition and 14 deletions.
15 changes: 1 addition & 14 deletions uptime_service_validation/coordinator/server.py
Original file line number Diff line number Diff line change
Expand Up @@ -179,24 +179,12 @@ def setUpValidatorPods(time_intervals, logging, worker_image, worker_tag):
), # 0777 permission in octal as int
)

cassandra_ssl_volume = client.V1Volume(
name="cassandra-crt",
secret=client.V1SecretVolumeSource(
secret_name="uptime-service-cassandra-crt"
),
)

# Define the volumeMounts
auth_volume_mount = client.V1VolumeMount(
name="auth-volume",
mount_path=os.environ.get("AUTH_VOLUME_MOUNT_PATH"),
)

cassandra_ssl_volume_mount = client.V1VolumeMount(
name="cassandra-crt",
mount_path="/certs",
)

entrypoint_volume_mount = client.V1VolumeMount(
name="entrypoint-volume",
mount_path="/bin/entrypoint",
Expand All @@ -221,7 +209,6 @@ def setUpValidatorPods(time_intervals, logging, worker_image, worker_tag):
volume_mounts=[
auth_volume_mount,
entrypoint_volume_mount,
cassandra_ssl_volume_mount,
],
)

Expand All @@ -237,7 +224,7 @@ def setUpValidatorPods(time_intervals, logging, worker_image, worker_tag):
containers=[container],
restart_policy="Never",
service_account_name=service_account_name,
volumes=[auth_volume, entrypoint_volume, cassandra_ssl_volume],
volumes=[auth_volume, entrypoint_volume],
)
),
),
Expand Down

0 comments on commit 578ebb6

Please sign in to comment.