mirror of
https://github.com/usual2970/certimate.git
synced 2025-06-18 10:20:02 +00:00
change annotations to certimage.
This commit is contained in:
parent
9f6ea410af
commit
5411b9cb92
@ -74,9 +74,9 @@ func (d *K8sSecretDeployer) Deploy(ctx context.Context) error {
|
||||
ObjectMeta: k8sMetaV1.ObjectMeta{
|
||||
Name: secretName,
|
||||
Annotations: map[string]string{
|
||||
"cert-manager.io/alt-names": d.option.Domain,
|
||||
"cert-manager.io/common-name": d.option.Domain,
|
||||
"cert-manager.io/issuer-name": d.option.DeployConfig.Id,
|
||||
"certimage/alt-names": d.option.Domain,
|
||||
"certimage/common-name": d.option.Domain,
|
||||
"certimage/issuer-name": d.option.DeployConfig.Id,
|
||||
},
|
||||
},
|
||||
Type: corev1.SecretType("kubernetes.io/tls"),
|
||||
|
Loading…
x
Reference in New Issue
Block a user