Skip to content

Incorrect make command in https://kubernetes.io/docs/concepts/services-networking/connect-applications-service/#securing-the-service #17597

Closed
@gireeshp

Description

@gireeshp

This is a Bug Report

Problem:
The section Securing the service shows a make command:

make keys secret KEY=/tmp/nginx.key CERT=/tmp/nginx.crt SECRET=/tmp/secret.json
kubectl apply -f /tmp/secret.json

But the first command fails with error: make: *** No rule to make target ``secret'. Stop.. And so the secret isn't created.

As per the documentation, the make file is from nginx https example and in this Makefile, there is no target "Secret".

Proposed Solution:
As per the README of nginx https example, the above commands should be modified as:

make keys KEY=/tmp/nginx.key CERT=/tmp/nginx.crt
kubectl create secret tls nginxsecret --key /tmp/nginx.key --cert /tmp/nginx.crt

This works.

Page to Update:
https://kubernetes.io/docs/concepts/services-networking/connect-applications-service/#securing-the-service

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind/bugCategorizes issue or PR as related to a bug.priority/backlogHigher priority than priority/awaiting-more-evidence.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions