-
Notifications
You must be signed in to change notification settings - Fork 243
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use redis operator for marketplace story
As per https://github.com/coreos/etcd-operator etcd operator is no longer developed or maintained so better to use better operator for our test case. Also as per marketplace test we only need to see if we can operator can be installed and we can deploy respective resource from this operator. fixes: #2542
- Loading branch information
1 parent
40e20ca
commit e50d881
Showing
5 changed files
with
61 additions
and
53 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 was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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,49 @@ | ||
--- | ||
apiVersion: v1 | ||
data: | ||
password: c3VwZXJzZWNyZXQ= | ||
kind: Secret | ||
metadata: | ||
name: redis-secret | ||
namespace: default | ||
--- | ||
apiVersion: redis.redis.opstreelabs.in/v1beta1 | ||
kind: Redis | ||
metadata: | ||
name: redis-standalone | ||
namespace: default | ||
spec: | ||
kubernetesConfig: | ||
image: 'quay.io/opstree/redis:v6.2' | ||
imagePullPolicy: IfNotPresent | ||
redisSecret: | ||
key: password | ||
name: redis-secret | ||
resources: | ||
limits: | ||
cpu: 101m | ||
memory: 128Mi | ||
requests: | ||
cpu: 101m | ||
memory: 128Mi | ||
serviceType: LoadBalancer | ||
storage: | ||
volumeClaimTemplate: | ||
spec: | ||
accessModes: | ||
- ReadWriteOnce | ||
resources: | ||
requests: | ||
storage: 1Gi | ||
redisExporter: | ||
enabled: true | ||
image: 'quay.io/opstree/redis-exporter:1.0' | ||
imagePullPolicy: Always | ||
resources: | ||
limits: | ||
cpu: 100m | ||
memory: 128Mi | ||
requests: | ||
cpu: 100m | ||
memory: 128Mi | ||
redisConfig: {} |
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: operators.coreos.com/v1alpha1 | ||
kind: Subscription | ||
metadata: | ||
name: etcd | ||
name: redis | ||
namespace: openshift-operators | ||
spec: | ||
channel: clusterwide-alpha | ||
channel: stable | ||
installPlanApproval: Automatic | ||
name: etcd | ||
name: redis-operator | ||
source: community-operators | ||
sourceNamespace: openshift-marketplace |