-
Notifications
You must be signed in to change notification settings - Fork 882
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
add configuration for active/standy services for server #546
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -685,6 +685,28 @@ | |
}, | ||
"targetPort": { | ||
"type": "integer" | ||
}, | ||
"active": { | ||
"type": "object", | ||
"properties": { | ||
"annotations": { | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. These appear to be missing entries for |
||
"type": [ | ||
"object", | ||
"string" | ||
] | ||
} | ||
} | ||
}, | ||
"standby": { | ||
"type": "object", | ||
"properties": { | ||
"annotations": { | ||
"type": [ | ||
"object", | ||
"string" | ||
] | ||
} | ||
} | ||
} | ||
} | ||
}, | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -459,6 +459,52 @@ server: | |
# to the service. | ||
annotations: {} | ||
|
||
# Enables a headless service that contains the active pod only | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. These sections don't enable this behavior, so I would remove this comment. |
||
active: | ||
# clusterIP controls whether a Cluster IP address is attached to the | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Maybe add a comment about these values defaulting to the |
||
# Vault service within Kubernetes. By default the Vault service will | ||
# be given a Cluster IP address, set to None to disable. When disabled | ||
# Kubernetes will create a "headless" service. Headless services can be | ||
# used to communicate with pods directly through DNS instead of a round robin | ||
# load balancer. | ||
# clusterIP: None | ||
|
||
# Configures the service type for the active Vault service. Can be ClusterIP | ||
# or NodePort. | ||
#type: ClusterIP | ||
|
||
# If type is set to "NodePort", a specific nodePort value can be configured, | ||
# will be random if left blank. | ||
#nodePort: 30000 | ||
|
||
# Extra annotations for the service definition. This can either be YAML or a | ||
# YAML-formatted multi-line templated string map of the annotations to apply | ||
# to the service. | ||
annotations: {} | ||
|
||
# Enables a headless service that contains standby pods only | ||
standby: | ||
# clusterIP controls whether a Cluster IP address is attached to the | ||
# Vault service within Kubernetes. By default the Vault service will | ||
# be given a Cluster IP address, set to None to disable. When disabled | ||
# Kubernetes will create a "headless" service. Headless services can be | ||
# used to communicate with pods directly through DNS instead of a round robin | ||
# load balancer. | ||
# clusterIP: None | ||
|
||
# Configures the service type for the standby Vault service. Can be ClusterIP | ||
# or NodePort. | ||
#type: ClusterIP | ||
|
||
# If type is set to "NodePort", a specific nodePort value can be configured, | ||
# will be random if left blank. | ||
#nodePort: 30000 | ||
|
||
# Extra annotations for the service definition. This can either be YAML or a | ||
# YAML-formatted multi-line templated string map of the annotations to apply | ||
# to the service. | ||
annotations: {} | ||
|
||
# This configures the Vault Statefulset to create a PVC for data | ||
# storage when using the file or raft backend storage engines. | ||
# See https://www.vaultproject.io/docs/configuration/storage/index.html to know more | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think we'll need to include the previous annotations as well in both the active and standby. (Both because of backwards compatibility and because we might want to have common annotations in the
vault.service.annotations
template.)