Skip to content

Commit

Permalink
Rename SecretRef to TLSRef (#580)
Browse files Browse the repository at this point in the history
* Rename SecretRef to TLSRef
* Use case-insensitive match for Kind
  • Loading branch information
tamalsaha committed Oct 6, 2017
1 parent 31a576b commit a091893
Show file tree
Hide file tree
Showing 20 changed files with 48 additions and 11,065 deletions.
5 changes: 3 additions & 2 deletions apis/voyager/certificate.go
Expand Up @@ -2,6 +2,7 @@ package voyager

import (
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
apiv1 "k8s.io/client-go/pkg/api/v1"
)

const (
Expand Down Expand Up @@ -79,8 +80,8 @@ type DNSChallengeProvider struct {
}

type CertificateStorage struct {
Secret *SecretStore `json:"secret,omitempty"`
Vault *VaultStore `json:"vault,omitempty"`
Secret *apiv1.LocalObjectReference `json:"secret,omitempty"`
Vault *VaultStore `json:"vault,omitempty"`
}

type SecretStore struct {
Expand Down
4 changes: 2 additions & 2 deletions apis/voyager/ingress.go
Expand Up @@ -109,8 +109,8 @@ type IngressTLS struct {
// Deprecated
SecretName string `json:"secretName,omitempty"`

// SecretRef to used tls termination.
SecretRef *LocalTypedReference `json:"secretRef,omitempty"`
// TLSRef to used tls termination.
TLSRef *LocalTypedReference `json:"tlsRef,omitempty"`
}

// IngressStatus describe the current state of the Ingress.
Expand Down

0 comments on commit a091893

Please sign in to comment.