-
Notifications
You must be signed in to change notification settings - Fork 53
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Finish reconfigure tls for standalone
Signed-off-by: Neaj Morshad <[email protected]>
- Loading branch information
1 parent
2f6edf8
commit ff4d46f
Showing
9 changed files
with
1,139 additions
and
127 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 |
---|---|---|
@@ -1,8 +1,8 @@ | ||
apiVersion: cert-manager.io/v1 | ||
kind: Issuer | ||
metadata: | ||
name: mg-issuer | ||
name: mssqlserver-ca-issuer | ||
namespace: demo | ||
spec: | ||
ca: | ||
secretName: mongo-ca | ||
secretName: mssqlserver-ca |
14 changes: 0 additions & 14 deletions
14
docs/examples/mssqlserver/reconfigure-tls/mops-change-issuer.yaml
This file was deleted.
Oops, something went wrong.
13 changes: 8 additions & 5 deletions
13
...lserver/reconfigure-tls/mops-add-tls.yaml → ...server/reconfigure-tls/msops-add-tls.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 |
---|---|---|
@@ -1,21 +1,24 @@ | ||
apiVersion: ops.kubedb.com/v1alpha1 | ||
kind: MongoDBOpsRequest | ||
kind: MSSQLServerOpsRequest | ||
metadata: | ||
name: mops-add-tls | ||
name: msops-add-tls | ||
namespace: demo | ||
spec: | ||
type: ReconfigureTLS | ||
databaseRef: | ||
name: mg-rs | ||
name: ms-standalone | ||
tls: | ||
issuerRef: | ||
name: mg-issuer | ||
name: mssqlserver-ca-issuer | ||
kind: Issuer | ||
apiGroup: "cert-manager.io" | ||
certificates: | ||
- alias: client | ||
subject: | ||
organizations: | ||
- mongo | ||
- mssqlserver | ||
organizationalUnits: | ||
- client | ||
clientTLS: true | ||
timeout: 5m | ||
apply: IfReady |
14 changes: 14 additions & 0 deletions
14
docs/examples/mssqlserver/reconfigure-tls/msops-change-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,14 @@ | ||
apiVersion: ops.kubedb.com/v1alpha1 | ||
kind: MSSQLServerOpsRequest | ||
metadata: | ||
name: msops-change-issuer | ||
namespace: demo | ||
spec: | ||
type: ReconfigureTLS | ||
databaseRef: | ||
name: ms-standalone | ||
tls: | ||
issuerRef: | ||
name: mssqlserver-new-ca-issuer | ||
kind: Issuer | ||
apiGroup: "cert-manager.io" |
8 changes: 4 additions & 4 deletions
8
...qlserver/reconfigure-tls/mops-remove.yaml → ...lserver/reconfigure-tls/msops-remove.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 |
---|---|---|
@@ -1,11 +1,11 @@ | ||
apiVersion: ops.kubedb.com/v1alpha1 | ||
kind: MongoDBOpsRequest | ||
kind: MSSQLServerOpsRequest | ||
metadata: | ||
name: mops-remove | ||
name: msops-remove | ||
namespace: demo | ||
spec: | ||
type: ReconfigureTLS | ||
databaseRef: | ||
name: mg-rs | ||
name: ms-standalone | ||
tls: | ||
remove: true | ||
remove: true |
8 changes: 5 additions & 3 deletions
8
...qlserver/reconfigure-tls/mops-rotate.yaml → ...lserver/reconfigure-tls/msops-rotate.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 |
---|---|---|
@@ -1,11 +1,13 @@ | ||
apiVersion: ops.kubedb.com/v1alpha1 | ||
kind: MongoDBOpsRequest | ||
kind: MSSQLServerOpsRequest | ||
metadata: | ||
name: mops-rotate | ||
name: msops-rotate | ||
namespace: demo | ||
spec: | ||
type: ReconfigureTLS | ||
databaseRef: | ||
name: mg-rs | ||
name: ms-standalone | ||
tls: | ||
rotateCertificates: true | ||
timeout: 5m | ||
apply: IfReady |
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 |
---|---|---|
@@ -1,8 +1,8 @@ | ||
apiVersion: cert-manager.io/v1 | ||
kind: Issuer | ||
metadata: | ||
name: mg-new-issuer | ||
name: mssqlserver-new-ca-issuer | ||
namespace: demo | ||
spec: | ||
ca: | ||
secretName: mongo-new-ca | ||
secretName: mssqlserver-new-ca |
Oops, something went wrong.