fix merge errors
This commit is contained in:
parent
181d87f9b2
commit
b037bc3777
|
|
@ -10,9 +10,9 @@ spec:
|
||||||
plural: operatorconfigurations
|
plural: operatorconfigurations
|
||||||
singular: operatorconfiguration
|
singular: operatorconfiguration
|
||||||
shortNames:
|
shortNames:
|
||||||
- opconfig
|
- opconfig
|
||||||
categories:
|
categories:
|
||||||
- all
|
- all
|
||||||
scope: Namespaced
|
scope: Namespaced
|
||||||
versions:
|
versions:
|
||||||
- name: v1
|
- name: v1
|
||||||
|
|
@ -115,46 +115,10 @@ spec:
|
||||||
type: object
|
type: object
|
||||||
additionalProperties:
|
additionalProperties:
|
||||||
type: string
|
type: string
|
||||||
default: "registry.opensource.zalan.do/acid/spilo-13:2.0-p6"
|
sidecars:
|
||||||
enable_crd_validation:
|
type: array
|
||||||
type: boolean
|
nullable: true
|
||||||
default: true
|
items:
|
||||||
enable_lazy_spilo_upgrade:
|
|
||||||
type: boolean
|
|
||||||
default: false
|
|
||||||
enable_pgversion_env_var:
|
|
||||||
type: boolean
|
|
||||||
default: true
|
|
||||||
enable_shm_volume:
|
|
||||||
type: boolean
|
|
||||||
default: true
|
|
||||||
enable_spilo_wal_path_compat:
|
|
||||||
type: boolean
|
|
||||||
default: false
|
|
||||||
etcd_host:
|
|
||||||
type: string
|
|
||||||
default: ""
|
|
||||||
kubernetes_use_configmaps:
|
|
||||||
type: boolean
|
|
||||||
default: false
|
|
||||||
max_instances:
|
|
||||||
type: integer
|
|
||||||
minimum: -1 # -1 = disabled
|
|
||||||
default: -1
|
|
||||||
min_instances:
|
|
||||||
type: integer
|
|
||||||
minimum: -1 # -1 = disabled
|
|
||||||
default: -1
|
|
||||||
resync_period:
|
|
||||||
type: string
|
|
||||||
default: "30m"
|
|
||||||
repair_period:
|
|
||||||
type: string
|
|
||||||
default: "5m"
|
|
||||||
set_memory_request_to_limit:
|
|
||||||
type: boolean
|
|
||||||
default: false
|
|
||||||
sidecar_docker_images:
|
|
||||||
type: object
|
type: object
|
||||||
x-kubernetes-preserve-unknown-fields: true
|
x-kubernetes-preserve-unknown-fields: true
|
||||||
workers:
|
workers:
|
||||||
|
|
@ -209,23 +173,19 @@ spec:
|
||||||
type: string
|
type: string
|
||||||
cluster_domain:
|
cluster_domain:
|
||||||
type: string
|
type: string
|
||||||
sidecars:
|
default: "cluster.local"
|
||||||
type: array
|
cluster_labels:
|
||||||
nullable: true
|
|
||||||
items:
|
|
||||||
type: object
|
type: object
|
||||||
x-kubernetes-preserve-unknown-fields: true
|
additionalProperties:
|
||||||
workers:
|
|
||||||
type: integer
|
|
||||||
minimum: 1
|
|
||||||
default: 8
|
|
||||||
users:
|
|
||||||
type: object
|
|
||||||
properties:
|
|
||||||
replication_username:
|
|
||||||
type: string
|
type: string
|
||||||
default: standby
|
default:
|
||||||
super_username:
|
application: spilo
|
||||||
|
cluster_name_label:
|
||||||
|
type: string
|
||||||
|
default: "cluster-name"
|
||||||
|
custom_pod_annotations:
|
||||||
|
type: object
|
||||||
|
additionalProperties:
|
||||||
type: string
|
type: string
|
||||||
delete_annotation_date_key:
|
delete_annotation_date_key:
|
||||||
type: string
|
type: string
|
||||||
|
|
@ -261,11 +221,41 @@ spec:
|
||||||
nullable: true
|
nullable: true
|
||||||
items:
|
items:
|
||||||
type: object
|
type: object
|
||||||
additionalProperties:
|
required:
|
||||||
type: string
|
- secretname
|
||||||
default:
|
- userkey
|
||||||
application: spilo
|
- passwordkey
|
||||||
cluster_name_label:
|
properties:
|
||||||
|
secretname:
|
||||||
|
type: string
|
||||||
|
userkey:
|
||||||
|
type: string
|
||||||
|
passwordkey:
|
||||||
|
type: string
|
||||||
|
rolekey:
|
||||||
|
type: string
|
||||||
|
defaultuservalue:
|
||||||
|
type: string
|
||||||
|
defaultrolevalue:
|
||||||
|
type: string
|
||||||
|
details:
|
||||||
|
type: string
|
||||||
|
template:
|
||||||
|
type: boolean
|
||||||
|
inherited_annotations:
|
||||||
|
type: array
|
||||||
|
items:
|
||||||
|
type: string
|
||||||
|
inherited_labels:
|
||||||
|
type: array
|
||||||
|
items:
|
||||||
|
type: string
|
||||||
|
master_pod_move_timeout:
|
||||||
|
type: string
|
||||||
|
default: "20m"
|
||||||
|
node_readiness_label:
|
||||||
|
type: object
|
||||||
|
additionalProperties:
|
||||||
type: string
|
type: string
|
||||||
node_readiness_label_merge:
|
node_readiness_label_merge:
|
||||||
type: string
|
type: string
|
||||||
|
|
|
||||||
|
|
@ -1055,14 +1055,6 @@ func TestCompareEnv(t *testing.T) {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
func newFakeK8sServiceClient() (k8sutil.KubernetesClient, *fake.Clientset) {
|
|
||||||
clientSet := fake.NewSimpleClientset()
|
|
||||||
|
|
||||||
return k8sutil.KubernetesClient{
|
|
||||||
ServicesGetter: clientSet.CoreV1(),
|
|
||||||
}, clientSet
|
|
||||||
}
|
|
||||||
|
|
||||||
func newService(ann map[string]string, svcT v1.ServiceType, lbSr []string) *v1.Service {
|
func newService(ann map[string]string, svcT v1.ServiceType, lbSr []string) *v1.Service {
|
||||||
svc := &v1.Service{
|
svc := &v1.Service{
|
||||||
Spec: v1.ServiceSpec{
|
Spec: v1.ServiceSpec{
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue