Closed adietish closed 1 month ago
@sbouchet:
How to test this: https://github.com/redhat-developer/intellij-kubernetes/issues/763#issuecomment-2391607391 is describing what's provided in this enhancement/feature.
My first question is: is the label for the checkbox explaining what happens if you check/uncheck it?
The most basic is test could look like this:
Steps:
apiVersion: v1
kind: ConfigMap
metadata:
name: base64encoded
data:
foo: text value that noone ca
binaryData:
bar: jmjKxUGNs/WqDQ==
Result: The config map in the editor was created on the cluster. You are told by a notification. In the resource tree you now have a new config map named "base64encoded"
Further tests could be done with a multi-resource file and minikube. Multi-resource editors are not notified of the success of the push.
---
apiVersion: apps/v1
kind: Deployment
metadata:
annotations:
app.quarkus.io/commit-id: 874731470682e3f213506357d2f9887bab63be83
app.quarkus.io/build-timestamp: 2023-04-25 - 09:17:12 +0000
labels:
app.kubernetes.io/name: code-with-quarkus
app.kubernetes.io/version: 1.0.0-SNAPSHOT
name: code-with-quarkus
spec:
replicas: 1
selector:
matchLabels:
app.kubernetes.io/name: code-with-quarkus
app.kubernetes.io/version: 1.0.0-SNAPSHOT
template:
metadata:
annotations:
app.quarkus.io/commit-id: 874731470682e3f213506357d2f9887bab63be83
app.quarkus.io/build-timestamp: 2023-04-25 - 09:17:12 +0000
labels:
app.kubernetes.io/name: code-with-quarkus
app.kubernetes.io/version: 1.0.0-SNAPSHOT
spec:
containers:
- env:
- name: KUBERNETES_NAMESPACE
valueFrom:
fieldRef:
fieldPath: metadata.namespace
image: minikube/andredietisheim/code-with-quarkus:1.0.0-SNAPSHOT
imagePullPolicy: IfNotPresent
name: code-with-quarkus
ports:
- containerPort: 8080
name: http
protocol: TCP
---
apiVersion: v1
kind: Service
metadata:
annotations:
app.quarkus.io/commit-id: 874731470682e3f213506357d2f9887bab63be83
app.quarkus.io/build-timestamp: 2023-04-25 - 09:17:12 +0000
labels:
app.kubernetes.io/name: code-with-quarkus
app.kubernetes.io/version: 1.0.0-SNAPSHOT
name: code-with-quarkus
spec:
ports:
- name: http
nodePort: 31995
port: 80
protocol: TCP
targetPort: 8080
selector:
app.kubernetes.io/name: code-with-quarkus
app.kubernetes.io/version: 1.0.0-SNAPSHOT
type: NodePort
Issues
1 New issue
0 Accepted issues
Measures
0 Security Hotspots
0.0% Coverage on New Code
0.0% Duplication on New Code
fixes #763