Update argocd/sealed-secrets/values.yaml, argocd/oauth2-proxy/Chart.yaml, argocd/oauth2-proxy/values.yaml, argocd/oauth2-proxy/templates/oauth-credentials.yaml, argocd/argocd/apps/oauth2-proxy.yaml
This commit is contained in:
20
argocd/argocd/apps/oauth2-proxy.yaml
Normal file
20
argocd/argocd/apps/oauth2-proxy.yaml
Normal file
@@ -0,0 +1,20 @@
|
|||||||
|
apiVersion: argoproj.io/v1alpha1
|
||||||
|
kind: Application
|
||||||
|
metadata:
|
||||||
|
name: oauth2-proxy
|
||||||
|
namespace: argocd
|
||||||
|
spec:
|
||||||
|
project: default
|
||||||
|
source:
|
||||||
|
repoURL: https://gitlab.com/developerdurp/linode.git
|
||||||
|
targetRevision: main
|
||||||
|
path: argocd/oauth2-proxy
|
||||||
|
destination:
|
||||||
|
namespace: oauth2-proxy
|
||||||
|
name: in-cluster
|
||||||
|
syncPolicy:
|
||||||
|
automated:
|
||||||
|
prune: true
|
||||||
|
selfHeal: true
|
||||||
|
syncOptions:
|
||||||
|
- CreateNamespace=true
|
||||||
14
argocd/oauth2-proxy/Chart.yaml
Normal file
14
argocd/oauth2-proxy/Chart.yaml
Normal file
@@ -0,0 +1,14 @@
|
|||||||
|
apiVersion: v2
|
||||||
|
name: oauth2-proxy
|
||||||
|
description: A Helm chart for Kubernetes
|
||||||
|
type: application
|
||||||
|
version: 0.0.1
|
||||||
|
appVersion: 0.0.1
|
||||||
|
|
||||||
|
dependencies:
|
||||||
|
- name: oauth2-proxy
|
||||||
|
repository: https://oauth2-proxy.github.io/manifests
|
||||||
|
version: 6.2.1
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
17
argocd/oauth2-proxy/templates/oauth-credentials.yaml
Normal file
17
argocd/oauth2-proxy/templates/oauth-credentials.yaml
Normal file
@@ -0,0 +1,17 @@
|
|||||||
|
apiVersion: bitnami.com/v1alpha1
|
||||||
|
kind: SealedSecret
|
||||||
|
metadata:
|
||||||
|
creationTimestamp: null
|
||||||
|
name: oauth-credent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Jc9wKKa7sT2lPdoHOttTDYof1g9VJQnhjVKtmYFyDwuhQgcYzLywZ9RN7rXGKc8t6ScjuHK/uFKQVzghyuRqADZfeoBDTqfmscOaS6Pt/3n+tVart3VmJCpNWWzWKtNZaRYY4VL6TwKIUVhNmSPr0rIRuWvg5uZXZKRSG6gZHftCVLC3ZIIxX8CdP5eKG8AFPLoTnqoBuEARmbU77vP1SWaqS2Sm3EJZrBo0HHIJlR92k8EWSiZtkHY95kPWlgg5+g==
|
||||||
|
template:
|
||||||
|
data: null
|
||||||
|
metadata:
|
||||||
|
creationTimestamp: null
|
||||||
|
name: oauth-credentials
|
||||||
|
namespace: oauth2-proxy
|
||||||
163
argocd/oauth2-proxy/values.yaml
Normal file
163
argocd/oauth2-proxy/values.yaml
Normal file
@@ -0,0 +1,163 @@
|
|||||||
|
oauth2-proxy:
|
||||||
|
kubeVersion:
|
||||||
|
|
||||||
|
config:
|
||||||
|
annotations: {}
|
||||||
|
existingSecret: oauth-credentials
|
||||||
|
cookieName: ""
|
||||||
|
google: {}
|
||||||
|
configFile: |-
|
||||||
|
email_domains = [ "*" ]
|
||||||
|
upstreams = [ "file:///dev/null" ]
|
||||||
|
provider = "gitlab"
|
||||||
|
set_xauthrequest=true
|
||||||
|
pass_host_header=true
|
||||||
|
pass_user_headers=true
|
||||||
|
request_logging=true
|
||||||
|
cookie_secure=true
|
||||||
|
|
||||||
|
alphaConfig:
|
||||||
|
enabled: false
|
||||||
|
annotations: {}
|
||||||
|
serverConfigData: {}
|
||||||
|
metricsConfigData: {}
|
||||||
|
configData: {}
|
||||||
|
existingConfig: ~
|
||||||
|
|
||||||
|
image:
|
||||||
|
repository: "quay.io/oauth2-proxy/oauth2-proxy"
|
||||||
|
tag: "v7.2.1"
|
||||||
|
pullPolicy: "Always"
|
||||||
|
|
||||||
|
extraArgs:
|
||||||
|
upstream: "file:///dev/null"
|
||||||
|
email-domain: "*"
|
||||||
|
redirect-url: "https://oauth.durp.info/oauth2/callback"
|
||||||
|
whitelist-domain: ".durp.info"
|
||||||
|
cookie-domain: ".durp.info"
|
||||||
|
|
||||||
|
extraEnv: []
|
||||||
|
|
||||||
|
customLabels: {}
|
||||||
|
|
||||||
|
authenticatedEmailsFile:
|
||||||
|
enabled: false
|
||||||
|
persistence: configmap
|
||||||
|
template: ""
|
||||||
|
restrictedUserAccessKey: ""
|
||||||
|
restricted_access: ""
|
||||||
|
annotations: {}
|
||||||
|
|
||||||
|
service:
|
||||||
|
type: ClusterIP
|
||||||
|
portNumber: 80
|
||||||
|
annotations: {}
|
||||||
|
|
||||||
|
serviceAccount:
|
||||||
|
enabled: true
|
||||||
|
name:
|
||||||
|
annotations: {}
|
||||||
|
|
||||||
|
ingress:
|
||||||
|
enabled: true
|
||||||
|
path: /
|
||||||
|
pathType: Prefix
|
||||||
|
hosts:
|
||||||
|
- oauth.durp.info
|
||||||
|
annotations:
|
||||||
|
kubernetes.io/ingress.class: nginx
|
||||||
|
kubernetes.io/tls-acme: "true"
|
||||||
|
cert-manager.io/cluster-issuer: letsencrypt-production
|
||||||
|
tls:
|
||||||
|
- secretName: oauth-tls
|
||||||
|
hosts:
|
||||||
|
- oauth.durp.info
|
||||||
|
|
||||||
|
resources:
|
||||||
|
limits:
|
||||||
|
cpu: 100m
|
||||||
|
memory: 300Mi
|
||||||
|
requests:
|
||||||
|
cpu: 100m
|
||||||
|
memory: 300Mi
|
||||||
|
|
||||||
|
extraVolumes: []
|
||||||
|
|
||||||
|
extraVolumeMounts: []
|
||||||
|
|
||||||
|
priorityClassName: ""
|
||||||
|
|
||||||
|
hostAlias:
|
||||||
|
enabled: failureThreshold
|
||||||
|
|
||||||
|
tolerations: []
|
||||||
|
|
||||||
|
nodeSelector: {}
|
||||||
|
|
||||||
|
proxyVarsAsSecrets: true
|
||||||
|
|
||||||
|
livenessProbe:
|
||||||
|
enabled: true
|
||||||
|
initialDelaySeconds: 0
|
||||||
|
timeoutSeconds: 1
|
||||||
|
|
||||||
|
readinessProbe:
|
||||||
|
enabled: true
|
||||||
|
initialDelaySeconds: 0
|
||||||
|
timeoutSeconds: 1
|
||||||
|
periodSeconds: 10
|
||||||
|
successThreshold: 1
|
||||||
|
|
||||||
|
securityContext:
|
||||||
|
enabled: false
|
||||||
|
runAsNonRoot: true
|
||||||
|
|
||||||
|
deploymentAnnotations: {}
|
||||||
|
podAnnotations: {}
|
||||||
|
podLabels: {}
|
||||||
|
replicaCount: 1
|
||||||
|
|
||||||
|
podDisruptionBudget:
|
||||||
|
enabled: true
|
||||||
|
minAvailable: 1
|
||||||
|
|
||||||
|
podSecurityContext: {}
|
||||||
|
|
||||||
|
httpScheme: http
|
||||||
|
|
||||||
|
htpasswdFile:
|
||||||
|
enabled: false
|
||||||
|
existingSecret: ""
|
||||||
|
entries: {}
|
||||||
|
|
||||||
|
sessionStorage:
|
||||||
|
type: cookie
|
||||||
|
redis:
|
||||||
|
existingSecret: ""
|
||||||
|
password: ""
|
||||||
|
clientType: "standalone"
|
||||||
|
standalone:
|
||||||
|
connectionUrl: ""
|
||||||
|
cluster:
|
||||||
|
connectionUrls: []
|
||||||
|
sentinel:
|
||||||
|
password: ""
|
||||||
|
masterName: ""
|
||||||
|
connectionUrls: []
|
||||||
|
|
||||||
|
redis:
|
||||||
|
enabled: false
|
||||||
|
checkDeprecation: true
|
||||||
|
|
||||||
|
metrics:
|
||||||
|
enabled: true
|
||||||
|
port: 44180
|
||||||
|
servicemonitor:
|
||||||
|
enabled: false
|
||||||
|
namespace: ""
|
||||||
|
prometheusInstance: default
|
||||||
|
interval: 60s
|
||||||
|
scrapeTimeout: 30s
|
||||||
|
labels: {}
|
||||||
|
|
||||||
|
extraObjects: []
|
||||||
@@ -141,4 +141,4 @@
|
|||||||
# labels: {}
|
# labels: {}
|
||||||
# namespace: ""
|
# namespace: ""
|
||||||
#
|
#
|
||||||
#
|
#
|
||||||
|
|||||||
Reference in New Issue
Block a user