Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(runjob): add support for cloud_sql_instance #1688

Prev Previous commit
Next Next commit
feat(runjob): add sqlinstance in CRD
  • Loading branch information
CyberHippo committed May 3, 2024
commit e33a047934fe4ea575e81c82b2cc9b3e9cf2cce0
Original file line number Diff line number Diff line change
Expand Up @@ -589,6 +589,49 @@ spec:
description: A list of Volumes to make available to containers.
items:
properties:
cloudSqlInstance:
description: For Cloud SQL volumes, contains the specific
instances that should be mounted. Visit https://cloud.google.com/sql/docs/mysql/connect-run
for more information on how to connect Cloud SQL and
Cloud Run.
properties:
instances:
items:
description: 'The Cloud SQL instance connection
names, as can be found in https://console.cloud.google.com/sql/instances.
Visit https://cloud.google.com/sql/docs/mysql/connect-run
for more information on how to connect Cloud
SQL and Cloud Run. Format: {project}:{location}:{instance}'
oneOf:
- not:
required:
- external
required:
- name
- not:
anyOf:
- required:
- name
- required:
- namespace
required:
- external
properties:
external:
description: 'Allowed value: The `connectionName`
field of a `SQLInstance` resource.'
type: string
name:
description: 'Name of the referent. More info:
https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names'
type: string
namespace:
description: 'Namespace of the referent. More
info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/'
type: string
type: object
type: array
type: object
emptyDir:
description: Ephemeral storage used as a shared volume.
properties:
Expand Down