diff --git a/README.md b/README.md index eed91dc..f166681 100644 --- a/README.md +++ b/README.md @@ -89,8 +89,11 @@ Test the ingress configuration (self-signed) Alternatively on your own machine (not your workstation) modify hosts file and view in browser. (Note: this will require sudo access) -`Windows c:\windows\system32\drivers\etc\hosts` -`Mac /etc/hosts` +Host file locations: + +`Windows c:\windows\system32\drivers\etc\hosts` + +`Mac & Linux /etc/hosts` (Note: If the browser prevents you from proceeding type "thisisunsafe" into the browser window. This should bypass the browsers built in security checks.) diff --git a/aks-helloworld.yaml b/aks-helloworld.yaml deleted file mode 100644 index 96b34b8..0000000 --- a/aks-helloworld.yaml +++ /dev/null @@ -1,33 +0,0 @@ -apiVersion: apps/v1 -kind: Deployment -metadata: - name: aks-helloworld -spec: - replicas: 1 - selector: - matchLabels: - app: aks-helloworld - template: - metadata: - labels: - app: aks-helloworld - spec: - containers: - - name: aks-helloworld - image: mcr.microsoft.com/azuredocs/aks-helloworld:v1 - ports: - - containerPort: 80 - env: - - name: TITLE - value: "Welcome to Azure Kubernetes Service (AKS)" ---- -apiVersion: v1 -kind: Service -metadata: - name: aks-helloworld -spec: - type: ClusterIP - ports: - - port: 80 - selector: - app: aks-helloworld \ No newline at end of file diff --git a/hello-world-ingress.yaml b/hello-world-ingress.yaml deleted file mode 100644 index ade88f1..0000000 --- a/hello-world-ingress.yaml +++ /dev/null @@ -1,22 +0,0 @@ -apiVersion: networking.k8s.io/v1beta1 -kind: Ingress -metadata: - name: hello-world-ingress - annotations: - nginx.ingress.kubernetes.io/rewrite-target: /$1 - nginx.ingress.kubernetes.io/use-regex: "true" - cert-manager.io/issuer: letsencrypt -spec: - ingressClassName: nginx - tls: - - hosts: - - - secretName: tls-secret - rules: - - host: - http: - paths: - - backend: - serviceName: aks-helloworld - servicePort: 80 - path: /(.*) diff --git a/issuer.yaml b/issuer.yaml deleted file mode 100644 index fb65ad1..0000000 --- a/issuer.yaml +++ /dev/null @@ -1,23 +0,0 @@ -apiVersion: cert-manager.io/v1alpha2 -# An Issuer is a custom resource definition (CRD) made available through the cert-manager controller -# Issuers represent CAs and allow us to automate the generation of signed certificates -kind: Issuer -metadata: - name: letsencrypt -spec: -# Automated Certificate Management Environment (ACME) Certificate Authority server -# Certificates issued by public ACME servers are typically trusted by client’s browsers by default - acme: - server: https://acme-v02.api.letsencrypt.org/directory - # Temporary email generated via Temp Mail - email: nafifi3179@j24blog.com - privateKeySecretRef: - name: letsencrypt - solvers: - - http01: - ingress: - class: nginx - podTemplate: - spec: - nodeSelector: - "kubernetes.io/os": linux \ No newline at end of file