Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

permission #10

Merged
merged 1 commit into from
Dec 13, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
name: Deploy to GitHub Pages


permissions:
id-token: write
pages: write

on:
push:
branches:
Expand Down
9 changes: 9 additions & 0 deletions docs/CICD/gitops/01-什么是gitops.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
---
sidebar_position: 1
---

什么是 GitOps?

GitOps 是一种实现云原生应用程序持续部署的方法。它通过使用开发人员已经熟悉的工具(包括 Git 和持续部署工具),专注于在操作基础设施时提供以开发人员为中心的体验。

GitOps 的核心思想是拥有一个 Git 存储库,该存储库始终包含生产环境中当前所需的基础设施的声明性描述,以及使生产环境与存储库中描述的状态相匹配的自动化流程。如果您想部署新应用程序或更新现有应用程序,您只需更新存储库 - 自动化流程会处理其他所有事情。这就像使用巡航控制来管理生产中的应用程序一样。
File renamed without changes.
Loading