-
Notifications
You must be signed in to change notification settings - Fork 127
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
feat: migrate GCP account and update cluster #28
Merged
Merged
Changes from 40 commits
Commits
Show all changes
64 commits
Select commit
Hold shift + click to select a range
4e424a8
add gcp infra for remote-state and user access
agaudreault 61d44a2
add gke and networking
agaudreault 2241150
update cert-manager
agaudreault 23844a5
update ingress to use ingressClassName
agaudreault fc5d325
kustomize fix
agaudreault 1b7b10d
add dns and external-dns
agaudreault 67b7702
info logs
agaudreault 1ab8075
add external-dns to argo
agaudreault c8f0f81
fix Jenkins sync
agaudreault 699f93d
update jenkins to v2
agaudreault 3b0846d
update cert-manager resources
agaudreault 926aec1
missing one
agaudreault d4d452f
update prometheus
agaudreault 91fe246
update upstream
agaudreault 7e8242b
fix prometheus sync crds
agaudreault 746e47a
update istio
agaudreault 73ca49d
fix governor
agaudreault e870b12
fix cert-manager
agaudreault 97ca9ae
update rollout
agaudreault 8f6f1f7
fix ingress and use less resources
agaudreault ac7a53d
remove Jenkins
agaudreault ad21bd8
update governor image
agaudreault ee1eef9
refactor argo-events
agaudreault 448c8e6
update dex to newer version
agaudreault dfb57d6
fix cert-manager wrong namespace
agaudreault 295a1b4
prometheus deployment doc
agaudreault 2c56a52
update issuer email
agaudreault b3fd23a
add dex config
agaudreault f94a408
dex docs
agaudreault 4197a5a
dns setup
agaudreault 03798b3
fix image name for governor
agaudreault 1e433cf
add argocd auth secret
agaudreault 2ecfdda
update argo base
agaudreault b017875
revert secret in app
agaudreault ca02e3b
argocd rbac as code
agaudreault a810b49
fix argo dex config
agaudreault faac60a
add external-dns app
agaudreault 603f429
remove dns logging
agaudreault 4f18dcc
add codeowners
agaudreault b04b083
Merge branch 'master' into add-gcp-infra
agaudreault dca9c41
add docs about workflow secrets
agaudreault c94542d
dex HA-er
agaudreault e67aa0d
add service account token for workflow
agaudreault fcf4647
fix kustomize for workflow
agaudreault 0726ec6
dex would need a shared state to be HA
agaudreault f284089
add missing default token for workflows rbac
agaudreault 865077b
typo
agaudreault 586429c
use another sa as default login
agaudreault bb7d9f4
workflow: add real read-only role
agaudreault bc03601
split workflows in 2 folder to make it easier to follow
agaudreault ada757b
use proper namespace
agaudreault 81515fd
fix
agaudreault ac08bfb
workflow split namespace
agaudreault e15683f
switch to clusterRole for multi-ns binding
agaudreault f383c14
move sa to playground ns
agaudreault f5fae49
update binding
agaudreault d3fbd92
workflow token not necessary
agaudreault 254c712
move artifact config in ns
agaudreault 2191faf
move auth to managed namespace... weird
agaudreault 8936788
move events to playground. does not seem to support split controller
agaudreault a28e01f
manifest have namespace hardcoded
agaudreault 306872e
base apps
agaudreault 8e05457
reorder
agaudreault fdb1976
Update docs & code review
agaudreault File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
Validating CODEOWNERS rules …
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
# Infrastructure | ||
/infrastructure/ @agaudreault @leoluz | ||
/argocd/overlays/production/argocd-rbac-cm.yaml @agaudreault @leoluz | ||
/external-dns/values.yaml @agaudreault @leoluz | ||
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,16 @@ | ||
apiVersion: cert-manager.io/v1alpha2 | ||
apiVersion: cert-manager.io/v1 | ||
kind: Issuer | ||
metadata: | ||
name: argo-workflows-issuer | ||
spec: | ||
acme: | ||
server: https://acme-v02.api.letsencrypt.org/directory | ||
email: amatyushentsev@gmail.com | ||
email: argoproj@gmail.com | ||
privateKeySecretRef: | ||
name: letsencrypt | ||
solvers: | ||
# An empty 'selector' means that this solver matches all domains | ||
- selector: {} | ||
http01: | ||
ingress: | ||
class: nginx | ||
# An empty 'selector' means that this solver matches all domains | ||
- selector: {} | ||
http01: | ||
ingress: | ||
class: nginx |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
/argo-cd-auth-secret.yaml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
apiVersion: v1 | ||
kind: ConfigMap | ||
metadata: | ||
name: argocd-rbac-cm | ||
data: | ||
policy.csv: | | ||
g, argoproj:argo-cd-admins, role:admin | ||
policy.default: role:readonly |
This file was deleted.
Oops, something went wrong.
16 changes: 8 additions & 8 deletions
16
argoproj/base/jenkins.yaml → argoproj/base/external-dns.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,18 @@ | ||
apiVersion: argoproj.io/v1alpha1 | ||
kind: Application | ||
metadata: | ||
name: jenkins | ||
name: external-dns | ||
spec: | ||
source: | ||
path: jenkins | ||
path: external-dns | ||
repoURL: https://github.com/argoproj/argoproj-deployments | ||
targetRevision: HEAD | ||
destination: | ||
server: 'https://kubernetes.default.svc' | ||
namespace: argocd | ||
namespace: external-dns | ||
project: default | ||
ignoreDifferences: | ||
- group: '' | ||
jsonPointers: | ||
- /data/jenkins-admin-password | ||
kind: Secret | ||
syncPolicy: | ||
syncOptions: | ||
- CreateNamespace=true | ||
automated: | ||
prune: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We should probably remove this for now until we decide how the ownership is going to be defined for the repo.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍 I commented it for now to keep track of infrastructure related files.