Thanks to visit codestin.com
Credit goes to github.com

Skip to content
This repository was archived by the owner on Jul 11, 2023. It is now read-only.

Commit 73b83da

Browse files
committed
Remove ca from certManager
Signed-off-by: jaellio <[email protected]>
1 parent ab861d2 commit 73b83da

File tree

3 files changed

+0
-47
lines changed

3 files changed

+0
-47
lines changed

cmd/osm-bootstrap/crds/config_mesh_root_certificate.yaml

Lines changed: 0 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -60,30 +60,10 @@ spec:
6060
description: Cert-manager provider configuration
6161
type: object
6262
required:
63-
- ca
6463
- issuerName
6564
- issuerKind
6665
- issuerGroup
6766
properties:
68-
ca:
69-
description: The root certificate of the Issuer or ClusterIssuer
70-
type: object
71-
required:
72-
- secretRef
73-
properties:
74-
secretRef:
75-
description: Reference to the kubernetes secret storing the root certificate
76-
type: object
77-
required:
78-
- name
79-
- namespace
80-
properties:
81-
name:
82-
description: Name of the kubernetes secret
83-
type: string
84-
namespace:
85-
description: Namespace of the kubernetes secret
86-
type: string
8767
issuerName:
8868
description: The name of the Issuer or ClusterIssuer resource
8969
type: string

pkg/apis/config/v1alpha2/meshrootcertificate.go

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -49,9 +49,6 @@ type ProviderSpec struct {
4949

5050
// CertManagerProviderSpec defines the configuration of the cert-manager provider
5151
type CertManagerProviderSpec struct {
52-
// CA specifies cert-manager's ca configuration
53-
CA CertManagerCASpec `json:"ca"`
54-
5552
// IssuerName specifies the name of the Issuer resource
5653
IssuerName string `json:"issuerName"`
5754

@@ -62,12 +59,6 @@ type CertManagerProviderSpec struct {
6259
IssuerGroup string `json:"issuerGroup"`
6360
}
6461

65-
// CertManagerCASpec defines the configuration of cert-manager's root certificate
66-
type CertManagerCASpec struct {
67-
// SecretRef specifies the secret in which the root certificate is stored
68-
SecretRef corev1.SecretReference `json:"secretRef"`
69-
}
70-
7162
// VaultProviderSpec defines the configuration of the Vault provider
7263
type VaultProviderSpec struct {
7364
// Host specifies the name of the Vault server

pkg/apis/config/v1alpha2/zz_generated.deepcopy.go

Lines changed: 0 additions & 18 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)