-
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.
Signed-off-by: Muhammad Raisul Islam Evan <[email protected]>
- Loading branch information
1 parent
72dd1bd
commit 87ac1f6
Showing
10 changed files
with
118 additions
and
9 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,8 @@ | ||
apiVersion: cert-manager.io/v1 | ||
kind: Issuer | ||
metadata: | ||
name: memcached-ca-issuer | ||
namespace: demo | ||
spec: | ||
ca: | ||
secretName: memcached-ca |
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,21 @@ | ||
apiVersion: ops.kubedb.com/v1alpha1 | ||
kind: MemcachedOpsRequest | ||
metadata: | ||
name: mc-add-tls | ||
namespace: demo | ||
spec: | ||
type: ReconfigureTLS | ||
databaseRef: | ||
name: memcd-quickstart | ||
tls: | ||
issuerRef: | ||
name: memcached-ca-issuer | ||
kind: Issuer | ||
apiGroup: "cert-manager.io" | ||
certificates: | ||
- alias: client | ||
subject: | ||
organizations: | ||
- memcached | ||
organizationalUnits: | ||
- client |
14 changes: 14 additions & 0 deletions
14
docs/examples/memcached/reconfigure-tls/mc-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: MemcachedOpsRequest | ||
metadata: | ||
name: mc-change-issuer | ||
namespace: demo | ||
spec: | ||
type: ReconfigureTLS | ||
databaseRef: | ||
name: memcd-quickstart | ||
tls: | ||
issuerRef: | ||
name: mc-new-issuer | ||
kind: Issuer | ||
apiGroup: "cert-manager.io" |
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,8 @@ | ||
apiVersion: cert-manager.io/v1 | ||
kind: Issuer | ||
metadata: | ||
name: mc-new-issuer | ||
namespace: demo | ||
spec: | ||
ca: | ||
secretName: memcached-new-ca |
11 changes: 11 additions & 0 deletions
11
docs/examples/memcached/reconfigure-tls/mc-ops-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 |
---|---|---|
@@ -0,0 +1,11 @@ | ||
apiVersion: ops.kubedb.com/v1alpha1 | ||
kind: MemcachedOpsRequest | ||
metadata: | ||
name: mc-ops-rotate | ||
namespace: demo | ||
spec: | ||
type: ReconfigureTLS | ||
databaseRef: | ||
name: memcd-quickstart | ||
tls: | ||
rotateCertificates: true |
11 changes: 11 additions & 0 deletions
11
docs/examples/memcached/reconfigure-tls/mc-ops-tls-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 |
---|---|---|
@@ -0,0 +1,11 @@ | ||
apiVersion: ops.kubedb.com/v1alpha1 | ||
kind: MemcachedOpsRequest | ||
metadata: | ||
name: mc-ops-tls-remove | ||
namespace: demo | ||
spec: | ||
type: ReconfigureTLS | ||
databaseRef: | ||
name: memcd-quickstart | ||
tls: | ||
remove: true |
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,9 @@ | ||
apiVersion: kubedb.com/v1 | ||
kind: Memcached | ||
metadata: | ||
name: memcd-quickstart | ||
namespace: demo | ||
spec: | ||
replicas: 1 | ||
version: "1.6.22" | ||
deletionPolicy: WipeOut |
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,19 @@ | ||
apiVersion: kubedb.com/v1 | ||
kind: Memcached | ||
metadata: | ||
name: memcd-quickstart | ||
namespace: demo | ||
spec: | ||
replicas: 1 | ||
version: "1.6.22" | ||
tls: | ||
issuerRef: | ||
apiGroup: "cert-manager.io" | ||
kind: Issuer | ||
name: memcached-ca-issuer | ||
certificates: | ||
- alias: client | ||
ipAddresses: | ||
- 127.0.0.1 | ||
- 192.168.0.252 | ||
deletionPolicy: WipeOut |
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,8 @@ | ||
apiVersion: cert-manager.io/v1 | ||
kind: Issuer | ||
metadata: | ||
name: memcached-ca-issuer | ||
namespace: demo | ||
spec: | ||
ca: | ||
secretName: memcached-ca |
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