Created
March 28, 2021 18:26
-
-
Save thockin/ffd246813c2b781e5e8d7172ede75907 to your computer and use it in GitHub Desktop.
Tweaks I made to k8s.io config (beyond the existing prod yamls) for managed certs
This file contains hidden or 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
--- ingress-prod-v6.yaml 2021-03-16 16:03:15.916458352 +0000 | |
+++ thockin.ingress-prod-v6.yaml 2021-03-28 18:23:41.981625351 +0000 | |
@@ -4,12 +4,12 @@ | |
name: k8s-io-v6 | |
labels: | |
app: k8s-io | |
- namespace: k8s-io-prod | |
+ namespace: thockin-test-certs | |
annotations: | |
- kubernetes.io/ingress.global-static-ip-name: k8s-io-ingress-prod-v6 | |
+ kubernetes.io/ingress.class: gce | |
+ kubernetes.io/ingress.global-static-ip-name: thockin-test-v6 | |
+ networking.gke.io/managed-certificates: thockin-test | |
spec: | |
- tls: | |
- - secretName: k8s-io-tls | |
backend: | |
serviceName: k8s-io | |
servicePort: http |
This file contains hidden or 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
--- ingress-prod.yaml 2021-03-16 16:03:15.917458425 +0000 | |
+++ thockin.ingress-prod.yaml 2021-03-28 18:23:47.712972660 +0000 | |
@@ -4,12 +4,12 @@ | |
name: k8s-io | |
labels: | |
app: k8s-io | |
- namespace: k8s-io-prod | |
+ namespace: thockin-test-certs | |
annotations: | |
- kubernetes.io/ingress.global-static-ip-name: k8s-io-ingress-prod | |
+ kubernetes.io/ingress.class: gce | |
+ kubernetes.io/ingress.global-static-ip-name: thockin-test-v4 | |
+ networking.gke.io/managed-certificates: thockin-test | |
spec: | |
- tls: | |
- - secretName: k8s-io-tls | |
backend: | |
serviceName: k8s-io | |
servicePort: http |
This file contains hidden or 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
--- service.yaml 2021-03-16 16:03:15.917458425 +0000 | |
+++ thockin.service.yaml 2021-03-28 18:20:42.536753617 +0000 | |
@@ -7,7 +7,7 @@ | |
spec: | |
selector: | |
app: k8s-io | |
- type: NodePort | |
+ type: ClusterIP | |
ports: | |
- name: http | |
port: 80 |
This file contains hidden or 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
apiVersion: networking.gke.io/v1beta2 | |
kind: ManagedCertificate | |
metadata: | |
name: thockin-test | |
spec: | |
domains: | |
- thockin-test1.k8s.io | |
- thockin-test2.k8s.io | |
- thockin-test3.k8s.io |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment