You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
You can run your application using Quarkus profiles using:
46
23
```
47
-
export CACHE_CLIENT_INTELLIGENCE=<For mac dev set to BASIC>
48
-
export CACHE_USE_AUTH=true
49
24
export CONFIG_REPOSITORY_ID =<Git Repo id where the config files are>
50
25
export GITLAB_API_URL=<The base url of your git api. ie https://gitlab.com>
51
26
export GITLAB_PERSONAL_ACCESS_TOKEN=<GitLab Personal Access Token>
@@ -75,67 +50,6 @@ You can then execute your binary: `./target/open-management-portal-git-api-1.0.0
75
50
76
51
If you want to learn more about building native executables, please consult https://quarkus.io/guides/building-native-image-guide .
77
52
78
-
## Add Infinispan to OCP via the Infinispan Operator
79
-
80
-
* Cluster admin probably needed for CRD
81
-
82
-
### Create secret
83
-
84
-
Create a secret file named `omp-cache-secret.yaml`. This secret will create an `identities.yaml` file on the cache. Take note of the name that must match the app secret By default the user / pass will be omp / omp as defined in `src/main/resources/application.properties` and the secret below.
85
-
86
-
```
87
-
apiVersion: v1
88
-
stringData:
89
-
identities.yaml: |+
90
-
credentials:
91
-
- username: omp
92
-
password: omp
93
-
- username: operator
94
-
password: operator1
95
-
kind: Secret
96
-
metadata:
97
-
labels:
98
-
app: infinispan-secret-identities
99
-
clusterName: omp-cache
100
-
infinispan_cr: omp-cache
101
-
name: omp-cache-secret
102
-
type: Opaque
103
-
```
104
-
105
-
### Create the Infinispan cluster file
106
-
107
-
Create a file named infinispan-cluster.yaml
108
-
109
-
```
110
-
apiVersion: infinispan.org/v1
111
-
kind: Infinispan
112
-
metadata:
113
-
name: omp-cache
114
-
spec:
115
-
replicas: 1
116
-
image: infinispan/server:10.1
117
-
logging:
118
-
categories:
119
-
org.infinispan: info
120
-
org.jgroups: info
121
-
security:
122
-
endpointSecretName: omp-cache-secret
123
-
```
124
-
125
-
### Create the Infinispan Operator
126
-
127
-
Login to OpenShift with the `oc` client and run the following commands
128
-
129
-
```
130
-
# Install Infinispan Operator running these commands
0 commit comments