apiVersion: v1
kind: Secret
metadata:
  name: localhost-serving-signer
  namespace: openshift-kube-apiserver-operator
  annotations:
    "auth.openshift.io/certificate-not-before": {{ .Assets | load "kube-apiserver-localhost-signer.crt" | notBefore }}
    "auth.openshift.io/certificate-not-after": {{ .Assets | load "kube-apiserver-localhost-signer.crt" | notAfter }}
    "auth.openshift.io/certificate-issuer": {{ .Assets | load "kube-apiserver-localhost-signer.crt" | issuer }}
type: SecretTypeTLS
data:
  tls.crt: {{ .Assets | load "kube-apiserver-localhost-signer.crt" | base64 }}
  tls.key: {{ .Assets | load "kube-apiserver-localhost-signer.key" | base64 }}
