Skip to Content
Hands-On Microservices with Kubernetes
book

Hands-On Microservices with Kubernetes

by Gigi Sayfan
July 2019
Intermediate to advanced
502 pages
14h
English
Packt Publishing
Content preview from Hands-On Microservices with Kubernetes

Removing mutual authentication between services

As you may recall, in Chapter 6, Securing Microservices on Kubernetes, we created a mutual secret between the link-manager service and the social-graph-manager service:

$ kubectl get secret | grep mutuallink-mutual-auth             Opaque          1      9d social-graph-mutual-auth    Opaque          1      5d19h

It required a lot of coordination and explicit work to encode the secrets, and then mount the secrets into the containers:

    spec:       containers:       - name: link-manager         image: g1g1/delinkcious-link:0.3         imagePullPolicy: Always         ports:         - containerPort: 8080         envFrom:         - configMapRef:             name: link-manager-config         volumeMounts:         - name: mutual-auth           mountPath: /etc/delinkcious           readOnly: true       volumes:       - name: mutual-auth         secret: secretName: link-mutual-auth ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Kubernetes Microservices

Kubernetes Microservices

Richard Chesterwood
Cloud Native DevOps with Kubernetes

Cloud Native DevOps with Kubernetes

John Arundel, Justin Domingus
Microservices: Up and Running

Microservices: Up and Running

Ronnie Mitra, Irakli Nadareishvili

Publisher Resources

ISBN: 9781789805468Supplemental Content