Skip to content

An Operator which extends "service.alpha.openshift.io/serving-cert-secret-name" annotation to to create a keystore

Notifications You must be signed in to change notification settings

ykoer/serving-cert-keystore-operator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

serving-cert-keystore-operator

An Operator which extends "service.alpha.openshift.io/serving-cert-secret-name" annotation with a PKCS12 keystore option.

Example

kind: Service
apiVersion: v1
metadata:
  name: nginx-ex
  annotations:
    service.alpha.openshift.io/serving-cert-secret-name: nginx-ex-tls
    ykoer.github.com/serving-cert-create-pkcs12: 'true'
spec:
  ...

Add annotation via command line

$ oc annotate service nginx-ex 'ykoer.github.com/serving-cert-create-pkcs12=true' --overwrite

Remove annotation via command line

$ oc annotate service nginx-ex ykoer.github.com/serving-cert-create-pkcs12-

The Updated Secret will look like:

kind: Secret
apiVersion: v1
metadata:
  name: nginx-ex-tls
data:
  tls.crt: >-
    ***
  tls.key: >-
    ***
  tls.p12: >-
    ***
  tls-pkcs12-password: ****
    
type: kubernetes.io/tls

About

An Operator which extends "service.alpha.openshift.io/serving-cert-secret-name" annotation to to create a keystore

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published