Removed configuration to be added by student during the activity.
This commit is contained in:
parent
6af1de0431
commit
f854f3ee70
3 changed files with 23 additions and 18 deletions
|
|
@ -104,11 +104,6 @@
|
|||
</systemPropertyVariables>
|
||||
</configuration>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>org.eclipse.jkube</groupId>
|
||||
<artifactId>openshift-maven-plugin</artifactId>
|
||||
<version>1.2.0</version>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</build>
|
||||
<profiles>
|
||||
|
|
|
|||
|
|
@ -3,4 +3,3 @@ kind: ConfigMap
|
|||
metadata:
|
||||
name: configmap-hello
|
||||
data:
|
||||
APP_MSG: sample external configuration
|
||||
|
|
|
|||
|
|
@ -1,20 +1,26 @@
|
|||
---
|
||||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
labels:
|
||||
app: micro-java
|
||||
provider: jkube
|
||||
version: "1.0"
|
||||
group: com.redhat.training.openshift.hello
|
||||
name: micro-java
|
||||
spec:
|
||||
replicas: 1
|
||||
revisionHistoryLimit: 2
|
||||
selector:
|
||||
matchLabels:
|
||||
app: micro-java
|
||||
provider: jkube
|
||||
group: com.redhat.training.openshift.hello
|
||||
strategy:
|
||||
rollingParams:
|
||||
timeoutSeconds: 3600
|
||||
type: Rolling
|
||||
template:
|
||||
metadata:
|
||||
labels:
|
||||
app: micro-java
|
||||
provider: jkube
|
||||
version: 1.0
|
||||
version: "1.0"
|
||||
group: com.redhat.training.openshift.hello
|
||||
spec:
|
||||
containers:
|
||||
|
|
@ -23,9 +29,6 @@ spec:
|
|||
valueFrom:
|
||||
fieldRef:
|
||||
fieldPath: metadata.namespace
|
||||
envFrom:
|
||||
- configMapRef:
|
||||
name: configmap-hello
|
||||
image: micro-java:1.0
|
||||
imagePullPolicy: IfNotPresent
|
||||
name: quarkus
|
||||
|
|
@ -33,3 +36,11 @@ spec:
|
|||
- containerPort: 8080
|
||||
name: http
|
||||
protocol: TCP
|
||||
- containerPort: 9779
|
||||
name: prometheus
|
||||
protocol: TCP
|
||||
- containerPort: 8778
|
||||
name: jolokia
|
||||
protocol: TCP
|
||||
securityContext:
|
||||
privileged: false
|
||||
Loading…
Add table
Reference in a new issue