Update: Add live update demonstration banner
This commit is contained in:
@ -113,8 +113,20 @@ data:
|
||||
</head>
|
||||
<body>
|
||||
<div class="container">
|
||||
<h1><span class="emoji">🚀</span> Fleet GitOps Demo</h1>
|
||||
<p class="subtitle">Deployed automatically from Gitea!</p>
|
||||
<h1><span class="emoji">🚀</span> Fleet GitOps Demo - UPDATED!</h1>
|
||||
<p class="subtitle">🔄 Auto-deployed from Gitea in real-time!</p>
|
||||
|
||||
<div style="background: #4caf50; color: white; padding: 15px; border-radius: 10px; text-align: center; margin: 20px 0; animation: pulse 2s infinite;">
|
||||
<h2 style="margin: 0; color: white;">✨ Live Update Demonstration ✨</h2>
|
||||
<p style="margin: 10px 0 0 0; color: white;">This content was updated via Git push and auto-deployed by Fleet!</p>
|
||||
</div>
|
||||
|
||||
<style>
|
||||
@keyframes pulse {
|
||||
0%, 100% { transform: scale(1); }
|
||||
50% { transform: scale(1.02); }
|
||||
}
|
||||
</style>
|
||||
|
||||
<div style="text-align: center; margin: 20px 0;">
|
||||
<span class="badge">Kubernetes v1.28.15</span>
|
||||
@ -192,24 +204,24 @@ spec:
|
||||
app: html-page
|
||||
spec:
|
||||
containers:
|
||||
- name: nginx
|
||||
image: nginx:alpine
|
||||
ports:
|
||||
- containerPort: 80
|
||||
volumeMounts:
|
||||
- name: html-content
|
||||
mountPath: /usr/share/nginx/html
|
||||
resources:
|
||||
requests:
|
||||
memory: "64Mi"
|
||||
cpu: "50m"
|
||||
limits:
|
||||
memory: "128Mi"
|
||||
cpu: "100m"
|
||||
- name: nginx
|
||||
image: nginx:alpine
|
||||
ports:
|
||||
- containerPort: 80
|
||||
volumeMounts:
|
||||
- name: html-content
|
||||
mountPath: /usr/share/nginx/html
|
||||
resources:
|
||||
requests:
|
||||
memory: "64Mi"
|
||||
cpu: "50m"
|
||||
limits:
|
||||
memory: "128Mi"
|
||||
cpu: "100m"
|
||||
volumes:
|
||||
- name: html-content
|
||||
configMap:
|
||||
name: html-content
|
||||
- name: html-content
|
||||
configMap:
|
||||
name: html-content
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: Service
|
||||
@ -220,8 +232,8 @@ spec:
|
||||
selector:
|
||||
app: html-page
|
||||
ports:
|
||||
- port: 80
|
||||
targetPort: 80
|
||||
- port: 80
|
||||
targetPort: 80
|
||||
type: ClusterIP
|
||||
---
|
||||
apiVersion: networking.k8s.io/v1
|
||||
@ -235,17 +247,17 @@ metadata:
|
||||
spec:
|
||||
ingressClassName: nginx
|
||||
tls:
|
||||
- hosts:
|
||||
- fleet.connectvm.cloud
|
||||
secretName: html-page-tls
|
||||
- hosts:
|
||||
- fleet.connectvm.cloud
|
||||
secretName: html-page-tls
|
||||
rules:
|
||||
- host: fleet.connectvm.cloud
|
||||
http:
|
||||
paths:
|
||||
- path: /
|
||||
pathType: Prefix
|
||||
backend:
|
||||
service:
|
||||
name: html-page-service
|
||||
port:
|
||||
number: 80
|
||||
- host: fleet.connectvm.cloud
|
||||
http:
|
||||
paths:
|
||||
- path: /
|
||||
pathType: Prefix
|
||||
backend:
|
||||
service:
|
||||
name: html-page-service
|
||||
port:
|
||||
number: 80
|
||||
|
||||
Reference in New Issue
Block a user