Update: Add live update demonstration banner

This commit is contained in:
govardhan
2025-11-15 09:54:37 +05:30
parent 5fc76658b2
commit f958776e59

View File

@ -113,8 +113,20 @@ data:
</head> </head>
<body> <body>
<div class="container"> <div class="container">
<h1><span class="emoji">🚀</span> Fleet GitOps Demo</h1> <h1><span class="emoji">🚀</span> Fleet GitOps Demo - UPDATED!</h1>
<p class="subtitle">Deployed automatically from Gitea!</p> <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;"> <div style="text-align: center; margin: 20px 0;">
<span class="badge">Kubernetes v1.28.15</span> <span class="badge">Kubernetes v1.28.15</span>
@ -192,24 +204,24 @@ spec:
app: html-page app: html-page
spec: spec:
containers: containers:
- name: nginx - name: nginx
image: nginx:alpine image: nginx:alpine
ports: ports:
- containerPort: 80 - containerPort: 80
volumeMounts: volumeMounts:
- name: html-content - name: html-content
mountPath: /usr/share/nginx/html mountPath: /usr/share/nginx/html
resources: resources:
requests: requests:
memory: "64Mi" memory: "64Mi"
cpu: "50m" cpu: "50m"
limits: limits:
memory: "128Mi" memory: "128Mi"
cpu: "100m" cpu: "100m"
volumes: volumes:
- name: html-content - name: html-content
configMap: configMap:
name: html-content name: html-content
--- ---
apiVersion: v1 apiVersion: v1
kind: Service kind: Service
@ -220,8 +232,8 @@ spec:
selector: selector:
app: html-page app: html-page
ports: ports:
- port: 80 - port: 80
targetPort: 80 targetPort: 80
type: ClusterIP type: ClusterIP
--- ---
apiVersion: networking.k8s.io/v1 apiVersion: networking.k8s.io/v1
@ -235,17 +247,17 @@ metadata:
spec: spec:
ingressClassName: nginx ingressClassName: nginx
tls: tls:
- hosts: - hosts:
- fleet.connectvm.cloud - fleet.connectvm.cloud
secretName: html-page-tls secretName: html-page-tls
rules: rules:
- host: fleet.connectvm.cloud - host: fleet.connectvm.cloud
http: http:
paths: paths:
- path: / - path: /
pathType: Prefix pathType: Prefix
backend: backend:
service: service:
name: html-page-service name: html-page-service
port: port:
number: 80 number: 80