In this section, a test application is created to demonstrate secret injecting into Kubernetes applications. In the example, the nginx server is set.
Test Application Deployment

# kubectl apply -f test-deploy.yaml
# kubectl get deployment
NAME READY UP-TO-DATE AVAILABLE AGE
my-test-deployment 1/1 1 1 61s
# kubectl get pods
NAME READY STATUS RESTARTS AGEmy-test-deployment-65fc9c7646-4hqsk 1/1 Running 0 62s