Skip to content

Commit 1fa6989

Browse files
committed
Remove "default" tlsCert from the neutron edpm service definitions
This is WIP, should be merged with previous commit if will work fine. Signed-off-by: Slawek Kaplonski <skaplons@redhat.com>
1 parent 96b302d commit 1fa6989

4 files changed

Lines changed: 1 addition & 35 deletions

api/dataplane/v1beta1/openstackdataplaneservice_types.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ type OpenstackDataPlaneServiceCert struct {
5252
// When empty, CN defaults to the short hostname.
5353
// +kubebuilder:validation:Optional
5454
// +kubebuilder:validation:Enum=system-id
55-
CommonName string `json:"commonName,omitempty"`
55+
CommonName string `json:"commonName,omitempty" yaml:"commonName,omitempty"`
5656

5757
// EDPMRoleServiceName is the value of the <role>_service_name variable from
5858
// the edpm-ansible role where this certificate is used. For example if the

config/services/dataplane_v1beta1_openstackdataplaneservice_neutron_metadata.yaml

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -13,17 +13,6 @@ spec:
1313
name: neutron-metadata-extra-config
1414
optional: true
1515
tlsCerts:
16-
default:
17-
contents:
18-
- dnsnames
19-
- ips
20-
networks:
21-
- ctlplane
22-
issuer: osp-rootca-issuer-ovn
23-
keyUsages:
24-
- digital signature
25-
- key encipherment
26-
- client auth
2716
rbac:
2817
commonName: system-id
2918
issuer: osp-rootca-issuer-ovn-rbac

config/services/dataplane_v1beta1_openstackdataplaneservice_neutron_ovn.yaml

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -14,17 +14,6 @@ spec:
1414
name: neutron-ovn-extra-config
1515
optional: true
1616
tlsCerts:
17-
default:
18-
contents:
19-
- dnsnames
20-
- ips
21-
networks:
22-
- ctlplane
23-
issuer: osp-rootca-issuer-ovn
24-
keyUsages:
25-
- digital signature
26-
- key encipherment
27-
- client auth
2817
rbac:
2918
commonName: system-id
3019
issuer: osp-rootca-issuer-ovn-rbac

config/services/dataplane_v1beta1_openstackdataplaneservice_ovn_bgp_agent.yaml

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -11,18 +11,6 @@ spec:
1111
name: ovn-bgp-agent-extra-config
1212
optional: true
1313
tlsCerts:
14-
default:
15-
contents:
16-
- dnsnames
17-
- ips
18-
networks:
19-
- ctlplane
20-
issuer: osp-rootca-issuer-ovn
21-
keyUsages:
22-
- digital signature
23-
- key encipherment
24-
- server auth
25-
- client auth
2614
rbac:
2715
commonName: system-id
2816
issuer: osp-rootca-issuer-ovn-rbac

0 commit comments

Comments
 (0)