Skip to content

Instantly share code, notes, and snippets.

@arush-sal
Created November 8, 2018 13:46
Show Gist options
  • Save arush-sal/1f167d08fbaa8b924b4bdbc278636ac2 to your computer and use it in GitHub Desktop.
Save arush-sal/1f167d08fbaa8b924b4bdbc278636ac2 to your computer and use it in GitHub Desktop.
apiVersion: v1
data:
tls.crt: base64 encoded cert
tls.key: base64 encoded key
kind: Secret
metadata:
name: testsecret
namespace: default
type: Opaque
apiVersion: extensions/v1beta1
kind: Ingress
metadata:
name: no-rules-map
spec:
tls:
- secretName: testsecret
backend:
serviceName: s1
servicePort: 80
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment