mirror of
https://github.com/nold360/hive-apps
synced 2024-12-22 04:21:22 +00:00
allow(gitea): argocd webhook
This commit is contained in:
parent
78cf0be942
commit
f39d2e46bd
3 changed files with 35 additions and 16 deletions
|
@ -5,6 +5,8 @@ config:
|
|||
- internet
|
||||
rules:
|
||||
- allow-ssh
|
||||
- allow-argocd
|
||||
- allow-minio
|
||||
|
||||
labels:
|
||||
environment: external
|
||||
|
|
|
@ -4,22 +4,20 @@ image:
|
|||
tag: 1.18-dev
|
||||
rootless: true
|
||||
|
||||
statefulset:
|
||||
env:
|
||||
- name: HTTP_PROXY
|
||||
value: http://proxy-squid.proxy.svc.cluster.local:3128
|
||||
- name: HTTPS_PROXY
|
||||
value: http://proxy-squid.proxy.svc.cluster.local:3128
|
||||
- name: http_proxy
|
||||
value: http://proxy-squid.proxy.svc.cluster.local:3128
|
||||
- name: https_proxy
|
||||
value: http://proxy-squid.proxy.svc.cluster.local:3128
|
||||
- name: NO_PROXY
|
||||
value: argocd-server.argocd.svc.cluster.local, 10.43.0.0/16
|
||||
- name: no_proxy
|
||||
value: argocd-server.argocd.svc.cluster.local, 10.43.0.0/16
|
||||
# - name: GITEA_APP_INI
|
||||
# value: conf/app.ini
|
||||
#statefulset:
|
||||
#env:
|
||||
# - name: HTTP_PROXY
|
||||
# value: http://proxy-squid.proxy.svc.cluster.local:3128
|
||||
# - name: HTTPS_PROXY
|
||||
# value: http://proxy-squid.proxy.svc.cluster.local:3128
|
||||
# - name: http_proxy
|
||||
# value: http://proxy-squid.proxy.svc.cluster.local:3128
|
||||
# - name: https_proxy
|
||||
# value: http://proxy-squid.proxy.svc.cluster.local:3128
|
||||
# - name: NO_PROXY
|
||||
# value: argocd-server.argocd.svc.cluster.local,10.43.0.0/16
|
||||
# - name: no_proxy
|
||||
# value: argocd-server.argocd.svc.cluster.local,10.43.0.0/16
|
||||
|
||||
securityContext:
|
||||
allowPrivilegeEscalation: false
|
||||
|
@ -130,6 +128,10 @@ gitea:
|
|||
ENABLE_SWAGGER: false
|
||||
oauth:
|
||||
ENABLE: false
|
||||
proxy:
|
||||
PROXY_ENABLED: true
|
||||
PROXY_URL: "http://proxy-squid.proxy.svc.cluster.local:3128"
|
||||
PROXY_HOSTS: "github.com"
|
||||
|
||||
additionalConfigFromEnvs:
|
||||
- name: ENV_TO_INI__DATABASE__PASSWD
|
||||
|
|
|
@ -152,3 +152,18 @@ networkPolicy:
|
|||
- namespaceSelector:
|
||||
matchLabels:
|
||||
environment: external
|
||||
|
||||
allow-argocd:
|
||||
podSelector: {}
|
||||
policyTypes:
|
||||
- Egress
|
||||
egress:
|
||||
- ports:
|
||||
- port: 80
|
||||
protocol: TCP
|
||||
- port: 8080
|
||||
protocol: TCP
|
||||
to:
|
||||
- namespaceSelector:
|
||||
matchLabels:
|
||||
app.heqet.gnu.one/project: argocd
|
||||
|
|
Loading…
Reference in a new issue