Compare commits
10 Commits
7054c2506d
...
4386eca8c5
| Author | SHA1 | Date | |
|---|---|---|---|
| 4386eca8c5 | |||
| 76658cb38e | |||
| a7bb9f70b3 | |||
| f7541dce54 | |||
| e8fdf7a0b7 | |||
| 2abd06a152 | |||
| cf318dd886 | |||
| b29ae2f613 | |||
| 81a8851ec1 | |||
| 4520178421 |
@ -3,6 +3,8 @@ kind: Application
|
|||||||
metadata:
|
metadata:
|
||||||
name: argocd
|
name: argocd
|
||||||
namespace: argocd
|
namespace: argocd
|
||||||
|
labels:
|
||||||
|
env: infra
|
||||||
spec:
|
spec:
|
||||||
project: infra
|
project: infra
|
||||||
source:
|
source:
|
||||||
@ -16,5 +18,8 @@ spec:
|
|||||||
server: https://kubernetes.default.svc
|
server: https://kubernetes.default.svc
|
||||||
namespace: argocd
|
namespace: argocd
|
||||||
syncPolicy:
|
syncPolicy:
|
||||||
|
automated:
|
||||||
|
prune: true
|
||||||
|
selfHeal: true
|
||||||
syncOptions:
|
syncOptions:
|
||||||
- CreateNamespace=true
|
- CreateNamespace=true
|
||||||
|
|||||||
@ -3,6 +3,8 @@ kind: Application
|
|||||||
metadata:
|
metadata:
|
||||||
name: minio-bitnami
|
name: minio-bitnami
|
||||||
namespace: argocd
|
namespace: argocd
|
||||||
|
labels:
|
||||||
|
env: infra
|
||||||
spec:
|
spec:
|
||||||
project: infra
|
project: infra
|
||||||
source:
|
source:
|
||||||
@ -15,3 +17,8 @@ spec:
|
|||||||
destination:
|
destination:
|
||||||
server: https://kubernetes.default.svc
|
server: https://kubernetes.default.svc
|
||||||
namespace: infra
|
namespace: infra
|
||||||
|
syncPolicy:
|
||||||
|
automated:
|
||||||
|
prune: true
|
||||||
|
selfHeal: true
|
||||||
|
|
||||||
|
|||||||
@ -3,6 +3,8 @@ kind: Application
|
|||||||
metadata:
|
metadata:
|
||||||
name: caretta
|
name: caretta
|
||||||
namespace: argocd
|
namespace: argocd
|
||||||
|
labels:
|
||||||
|
env: infra
|
||||||
spec:
|
spec:
|
||||||
project: infra
|
project: infra
|
||||||
source:
|
source:
|
||||||
@ -16,5 +18,8 @@ spec:
|
|||||||
server: https://kubernetes.default.svc
|
server: https://kubernetes.default.svc
|
||||||
namespace: caretta
|
namespace: caretta
|
||||||
syncPolicy:
|
syncPolicy:
|
||||||
|
automated:
|
||||||
|
prune: true
|
||||||
|
selfHeal: true
|
||||||
syncOptions:
|
syncOptions:
|
||||||
- CreateNamespace=true
|
- CreateNamespace=true
|
||||||
|
|||||||
@ -3,6 +3,8 @@ kind: Application
|
|||||||
metadata:
|
metadata:
|
||||||
name: cert-manager
|
name: cert-manager
|
||||||
namespace: argocd
|
namespace: argocd
|
||||||
|
labels:
|
||||||
|
env: infra
|
||||||
spec:
|
spec:
|
||||||
project: infra
|
project: infra
|
||||||
source:
|
source:
|
||||||
@ -16,5 +18,8 @@ spec:
|
|||||||
server: https://kubernetes.default.svc
|
server: https://kubernetes.default.svc
|
||||||
namespace: cert-manager
|
namespace: cert-manager
|
||||||
syncPolicy:
|
syncPolicy:
|
||||||
|
automated:
|
||||||
|
prune: true
|
||||||
|
selfHeal: true
|
||||||
syncOptions:
|
syncOptions:
|
||||||
- CreateNamespace=true
|
- CreateNamespace=true
|
||||||
|
|||||||
@ -3,6 +3,8 @@ kind: Application
|
|||||||
metadata:
|
metadata:
|
||||||
name: cloudflared
|
name: cloudflared
|
||||||
namespace: argocd
|
namespace: argocd
|
||||||
|
labels:
|
||||||
|
env: infra
|
||||||
spec:
|
spec:
|
||||||
project: infra
|
project: infra
|
||||||
destination:
|
destination:
|
||||||
@ -15,3 +17,9 @@ spec:
|
|||||||
helm:
|
helm:
|
||||||
valueFiles:
|
valueFiles:
|
||||||
- ../../manifests/cloudflared/values.yaml
|
- ../../manifests/cloudflared/values.yaml
|
||||||
|
syncPolicy:
|
||||||
|
automated:
|
||||||
|
prune: true
|
||||||
|
selfHeal: true
|
||||||
|
syncOptions:
|
||||||
|
- CreateNamespace=true
|
||||||
@ -3,6 +3,8 @@ kind: Application
|
|||||||
metadata:
|
metadata:
|
||||||
name: headlamp
|
name: headlamp
|
||||||
namespace: argocd
|
namespace: argocd
|
||||||
|
labels:
|
||||||
|
env: infra
|
||||||
spec:
|
spec:
|
||||||
project: infra
|
project: infra
|
||||||
source:
|
source:
|
||||||
@ -15,3 +17,8 @@ spec:
|
|||||||
destination:
|
destination:
|
||||||
server: https://kubernetes.default.svc
|
server: https://kubernetes.default.svc
|
||||||
namespace: infra
|
namespace: infra
|
||||||
|
syncPolicy:
|
||||||
|
automated:
|
||||||
|
prune: true
|
||||||
|
selfHeal: true
|
||||||
|
|
||||||
|
|||||||
@ -3,6 +3,8 @@ kind: Application
|
|||||||
metadata:
|
metadata:
|
||||||
name: keycloak
|
name: keycloak
|
||||||
namespace: argocd
|
namespace: argocd
|
||||||
|
labels:
|
||||||
|
env: infra
|
||||||
spec:
|
spec:
|
||||||
project: infra
|
project: infra
|
||||||
source:
|
source:
|
||||||
@ -15,3 +17,7 @@ spec:
|
|||||||
destination:
|
destination:
|
||||||
server: https://kubernetes.default.svc
|
server: https://kubernetes.default.svc
|
||||||
namespace: infra
|
namespace: infra
|
||||||
|
syncPolicy:
|
||||||
|
automated:
|
||||||
|
prune: true
|
||||||
|
selfHeal: true
|
||||||
|
|||||||
@ -3,6 +3,8 @@ kind: Application
|
|||||||
metadata:
|
metadata:
|
||||||
name: local-path-provisioner
|
name: local-path-provisioner
|
||||||
namespace: argocd
|
namespace: argocd
|
||||||
|
labels:
|
||||||
|
env: infra
|
||||||
spec:
|
spec:
|
||||||
project: infra
|
project: infra
|
||||||
destination:
|
destination:
|
||||||
@ -16,5 +18,7 @@ spec:
|
|||||||
valueFiles:
|
valueFiles:
|
||||||
- ../../manifests/local-path-provisioner/values.yaml
|
- ../../manifests/local-path-provisioner/values.yaml
|
||||||
syncPolicy:
|
syncPolicy:
|
||||||
syncOptions:
|
automated:
|
||||||
- CreateNamespace=true
|
prune: true
|
||||||
|
selfHeal: true
|
||||||
|
|
||||||
|
|||||||
@ -3,6 +3,8 @@ kind: Application
|
|||||||
metadata:
|
metadata:
|
||||||
name: metallb-base
|
name: metallb-base
|
||||||
namespace: argocd
|
namespace: argocd
|
||||||
|
labels:
|
||||||
|
env: infra
|
||||||
spec:
|
spec:
|
||||||
project: infra
|
project: infra
|
||||||
source:
|
source:
|
||||||
@ -23,3 +25,9 @@ spec:
|
|||||||
kind: CustomResourceDefinition
|
kind: CustomResourceDefinition
|
||||||
jsonPointers:
|
jsonPointers:
|
||||||
- /spec/conversion/webhook/clientConfig/caBundle
|
- /spec/conversion/webhook/clientConfig/caBundle
|
||||||
|
syncPolicy:
|
||||||
|
automated:
|
||||||
|
prune: true
|
||||||
|
selfHeal: true
|
||||||
|
syncOptions:
|
||||||
|
- CreateNamespace=true
|
||||||
|
|||||||
@ -3,6 +3,8 @@ kind: Application
|
|||||||
metadata:
|
metadata:
|
||||||
name: metallb-config
|
name: metallb-config
|
||||||
namespace: argocd
|
namespace: argocd
|
||||||
|
labels:
|
||||||
|
env: infra
|
||||||
spec:
|
spec:
|
||||||
project: infra
|
project: infra
|
||||||
source:
|
source:
|
||||||
@ -12,3 +14,9 @@ spec:
|
|||||||
destination:
|
destination:
|
||||||
server: https://kubernetes.default.svc
|
server: https://kubernetes.default.svc
|
||||||
namespace: metallb-system
|
namespace: metallb-system
|
||||||
|
syncPolicy:
|
||||||
|
automated:
|
||||||
|
prune: true
|
||||||
|
selfHeal: true
|
||||||
|
syncOptions:
|
||||||
|
- CreateNamespace=true
|
||||||
|
|||||||
@ -3,6 +3,8 @@ kind: Application
|
|||||||
metadata:
|
metadata:
|
||||||
name: nfs-subdir
|
name: nfs-subdir
|
||||||
namespace: argocd
|
namespace: argocd
|
||||||
|
labels:
|
||||||
|
env: infra
|
||||||
spec:
|
spec:
|
||||||
project: infra
|
project: infra
|
||||||
source:
|
source:
|
||||||
@ -15,3 +17,8 @@ spec:
|
|||||||
destination:
|
destination:
|
||||||
server: https://kubernetes.default.svc
|
server: https://kubernetes.default.svc
|
||||||
namespace: infra
|
namespace: infra
|
||||||
|
syncPolicy:
|
||||||
|
automated:
|
||||||
|
prune: true
|
||||||
|
selfHeal: true
|
||||||
|
|
||||||
|
|||||||
@ -3,6 +3,8 @@ kind: Application
|
|||||||
metadata:
|
metadata:
|
||||||
name: nvidia-device-plugin
|
name: nvidia-device-plugin
|
||||||
namespace: argocd
|
namespace: argocd
|
||||||
|
labels:
|
||||||
|
env: infra
|
||||||
spec:
|
spec:
|
||||||
project: infra
|
project: infra
|
||||||
source:
|
source:
|
||||||
@ -13,5 +15,6 @@ spec:
|
|||||||
server: https://kubernetes.default.svc
|
server: https://kubernetes.default.svc
|
||||||
namespace: kube-system
|
namespace: kube-system
|
||||||
syncPolicy:
|
syncPolicy:
|
||||||
syncOptions:
|
automated:
|
||||||
- CreateNamespace=false
|
prune: true
|
||||||
|
selfHeal: true
|
||||||
|
|||||||
@ -3,6 +3,8 @@ kind: Application
|
|||||||
metadata:
|
metadata:
|
||||||
name: radar
|
name: radar
|
||||||
namespace: argocd
|
namespace: argocd
|
||||||
|
labels:
|
||||||
|
env: infra
|
||||||
spec:
|
spec:
|
||||||
project: infra
|
project: infra
|
||||||
source:
|
source:
|
||||||
@ -15,3 +17,8 @@ spec:
|
|||||||
destination:
|
destination:
|
||||||
server: https://kubernetes.default.svc
|
server: https://kubernetes.default.svc
|
||||||
namespace: infra
|
namespace: infra
|
||||||
|
syncPolicy:
|
||||||
|
automated:
|
||||||
|
prune: true
|
||||||
|
selfHeal: true
|
||||||
|
|
||||||
|
|||||||
@ -3,6 +3,8 @@ kind: Application
|
|||||||
metadata:
|
metadata:
|
||||||
name: raw-resources
|
name: raw-resources
|
||||||
namespace: argocd
|
namespace: argocd
|
||||||
|
labels:
|
||||||
|
env: infra
|
||||||
spec:
|
spec:
|
||||||
project: infra
|
project: infra
|
||||||
source:
|
source:
|
||||||
@ -15,8 +17,6 @@ spec:
|
|||||||
server: https://kubernetes.default.svc
|
server: https://kubernetes.default.svc
|
||||||
namespace: infra
|
namespace: infra
|
||||||
syncPolicy:
|
syncPolicy:
|
||||||
syncOptions:
|
|
||||||
- CreateNamespace=true
|
|
||||||
automated:
|
automated:
|
||||||
prune: true
|
prune: true
|
||||||
selfHeal: true
|
selfHeal: true
|
||||||
|
|||||||
@ -7,13 +7,14 @@ image:
|
|||||||
tag: "v0.40.1"
|
tag: "v0.40.1"
|
||||||
|
|
||||||
config:
|
config:
|
||||||
baseURL: ""
|
inCluster: true
|
||||||
oidc:
|
oidc:
|
||||||
clientID: headlamp
|
clientID: headlamp
|
||||||
clientSecret: lPpiDSlF74VGLhbxCfW7cFpRfcUGjxv7
|
clientSecret: ""
|
||||||
issuerURL: https://keycloak.dvirlabs.com/realms/lab
|
issuerURL: https://keycloak.dvirlabs.com/realms/lab
|
||||||
scopes: openid,profile,email,groups
|
scopes: profile,email
|
||||||
callbackURL: https://headlamp.dvirlabs.com/oidc-callback
|
callbackURL: https://headlamp.dvirlabs.com/oidc-callback
|
||||||
|
usePKCE: true
|
||||||
|
|
||||||
serviceAccount:
|
serviceAccount:
|
||||||
create: true
|
create: true
|
||||||
|
|||||||
18
manifests/raw/keycloak/headlamp/headlamp-admin.yaml
Normal file
18
manifests/raw/keycloak/headlamp/headlamp-admin.yaml
Normal file
@ -0,0 +1,18 @@
|
|||||||
|
apiVersion: v1
|
||||||
|
kind: ServiceAccount
|
||||||
|
metadata:
|
||||||
|
name: headlamp-sa
|
||||||
|
namespace: kube-system
|
||||||
|
---
|
||||||
|
apiVersion: rbac.authorization.k8s.io/v1
|
||||||
|
kind: ClusterRoleBinding
|
||||||
|
metadata:
|
||||||
|
name: headlamp-sa-binding
|
||||||
|
subjects:
|
||||||
|
- kind: ServiceAccount
|
||||||
|
name: headlamp-sa
|
||||||
|
namespace: kube-system
|
||||||
|
roleRef:
|
||||||
|
kind: ClusterRole
|
||||||
|
name: cluster-admin
|
||||||
|
apiGroup: rbac.authorization.k8s.io
|
||||||
Loading…
x
Reference in New Issue
Block a user