Skip to content

Commit 7cb8192

Browse files
committed
Fixed generate user and updated kustomize.
1 parent f318b08 commit 7cb8192

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

Diff for: authentication/generate-user.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ export KUBECONFIG=${AUTH_DIR}/config
2222
touch ${AUTH_DIR}/config
2323

2424
# Setting details of the config
25-
kubectl config set-cluster minikube --certificate-authority=${HOME}/.minikube/ca.crt --embed-certs=true --server=https://$(minikube ip):8443
25+
kubectl config set-cluster minikube --certificate-authority=${HOME}/.minikube/ca.crt --embed-certs=true --server=https://127.0.0.1:52793
2626
kubectl config set-credentials demo-user --client-key=${AUTH_DIR}/user-key.pem --client-certificate=${AUTH_DIR}/user.crt --embed-certs=true
2727
kubectl config set-context minikube-demo-user --user demo-user --cluster minikube
2828
kubectl config use-context minikube-demo-user

Diff for: kustomize/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ This includes fewer replicas and a common name prefix "test-"
1616
kubectl apply -k overlays/test
1717
```
1818

19-
## Launching test stage
19+
## Launching production stage
2020

2121
This will have more (7) replicas and will change the content generated by the init container to contain some production content.
2222

Diff for: kustomize/base/init_nginx.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ spec:
1515
run: nginx
1616
spec:
1717
containers:
18-
- image: nginx:1.16
18+
- image: nginx:stable-alpine
1919
name: nginx
2020
volumeMounts: # <-- Mounting the shared volume
2121
- name: content

0 commit comments

Comments
 (0)