-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #147 from vshn/add/apiserver_cert
Handle API server cert via cert-manager
- Loading branch information
Showing
11 changed files
with
125 additions
and
322 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
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
98 changes: 0 additions & 98 deletions
98
tests/golden/apiserver/appcat/appcat/apiserver/20_certs.yaml
This file was deleted.
Oops, something went wrong.
2 changes: 2 additions & 0 deletions
2
tests/golden/apiserver/appcat/appcat/apiserver/30_api_service.yaml
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
25 changes: 25 additions & 0 deletions
25
tests/golden/apiserver/appcat/appcat/apiserver/31_api_certificate.yaml
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,25 @@ | ||
apiVersion: cert-manager.io/v1 | ||
kind: Certificate | ||
metadata: | ||
name: apiserver-certificate | ||
namespace: appcat-apiserver | ||
spec: | ||
dnsNames: | ||
- appcat.appcat-apiserver.svc | ||
duration: 87600h0m0s | ||
issuerRef: | ||
group: cert-manager.io | ||
kind: Issuer | ||
name: api-server-issuer | ||
privateKey: | ||
algorithm: RSA | ||
encoding: PKCS1 | ||
size: 4096 | ||
renewBefore: 2400h0m0s | ||
secretName: appcat-apiserver-tls | ||
subject: | ||
organizations: | ||
- vshn-appcat | ||
usages: | ||
- server auth | ||
- client auth |
7 changes: 7 additions & 0 deletions
7
tests/golden/apiserver/appcat/appcat/apiserver/31_api_issuer.yaml
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,7 @@ | ||
apiVersion: cert-manager.io/v1 | ||
kind: Issuer | ||
metadata: | ||
name: api-server-issuer | ||
namespace: appcat-apiserver | ||
spec: | ||
selfSigned: {} |
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.