blog
Less than 1 minute
blog
prepare
- k8s is ready
- argocd is ready and logged in
- ingress is ready
- cert-manager is ready
- the clusterissuer named
alidns-webhook-letsencrypt
is ready
- the clusterissuer named
installation
- prepare
blog.yaml
apiVersion: argoproj.io/v1alpha1 kind: Application metadata: name: blog spec: syncPolicy: syncOptions: - CreateNamespace=true project: default source: repoURL: https://ben-wangz.github.io/helm-chart-mirror/charts chart: nginx targetRevision: 15.9.0 helm: releaseName: blog values: | image: registry: ghcr.io repository: ben-wangz/blog tag: main pullPolicy: Always service: type: ClusterIP ingress: enabled: true annotations: kubernetes.io/ingress.class: nginx cert-manager.io/cluster-issuer: alidns-webhook-letsencrypt nginx.ingress.kubernetes.io/rewrite-target: /$1 hostname: blog.geekcity.tech path: /?(.*) tls: true destination: server: https://kubernetes.default.svc namespace: application
- apply to k8s
kubectl -n argocd apply -f blog.yaml
- sync by argocd
argocd app sync argocd/blog