-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' of https://github.com/MicrosoftDocs/executable-docs…
… into test_postgres
- Loading branch information
Showing
355 changed files
with
64,578 additions
and
7,588 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
--- | ||
# INGRESS WITH SSL PROD | ||
apiVersion: networking.k8s.io/v1 | ||
kind: Ingress | ||
metadata: | ||
name: vote-ingress | ||
namespace: default | ||
annotations: | ||
kubernetes.io/tls-acme: "true" | ||
nginx.ingress.kubernetes.io/ssl-redirect: "true" | ||
cert-manager.io/cluster-issuer: letsencrypt-prod | ||
spec: | ||
ingressClassName: nginx | ||
tls: | ||
- hosts: | ||
- mydnslabel9730fc.westeurope.cloudapp.azure.com | ||
secretName: azure-vote-nginx-secret | ||
rules: | ||
- host: mydnslabel9730fc.westeurope.cloudapp.azure.com | ||
http: | ||
paths: | ||
- path: / | ||
pathType: Prefix | ||
backend: | ||
service: | ||
name: azure-vote-front | ||
port: | ||
number: 80 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -223,4 +223,4 @@ spec: | |
targetPort: 8080 | ||
selector: | ||
app: store-front | ||
type: LoadBalancer | ||
type: LoadBalancer |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
apiVersion: cert-manager.io/v1 | ||
kind: ClusterIssuer | ||
metadata: | ||
name: letsencrypt-prod | ||
spec: | ||
acme: | ||
# You must replace this email address with your own. | ||
# Let's Encrypt will use this to contact you about expiring | ||
# certificates, and issues related to your account. | ||
email: [email protected] | ||
# ACME server URL for Let’s Encrypt’s prod environment. | ||
# The staging environment will not issue trusted certificates but is | ||
# used to ensure that the verification process is working properly | ||
# before moving to production | ||
server: https://acme-v02.api.letsencrypt.org/directory | ||
# Secret resource used to store the account's private key. | ||
privateKeySecretRef: | ||
name: letsencrypt | ||
# Enable the HTTP-01 challenge provider | ||
# you prove ownership of a domain by ensuring that a particular | ||
# file is present at the domain | ||
solvers: | ||
- http01: | ||
ingress: | ||
class: nginx | ||
podTemplate: | ||
spec: | ||
nodeSelector: | ||
"kubernetes.io/os": linux |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.