mirror of
https://github.com/nold360/hive-apps
synced 2024-11-16 02:29:34 +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
|
- internet
|
||||||
rules:
|
rules:
|
||||||
- allow-ssh
|
- allow-ssh
|
||||||
|
- allow-argocd
|
||||||
|
- allow-minio
|
||||||
|
|
||||||
labels:
|
labels:
|
||||||
environment: external
|
environment: external
|
||||||
|
|
|
@ -4,22 +4,20 @@ image:
|
||||||
tag: 1.18-dev
|
tag: 1.18-dev
|
||||||
rootless: true
|
rootless: true
|
||||||
|
|
||||||
statefulset:
|
#statefulset:
|
||||||
env:
|
#env:
|
||||||
- name: HTTP_PROXY
|
# - name: HTTP_PROXY
|
||||||
value: http://proxy-squid.proxy.svc.cluster.local:3128
|
# value: http://proxy-squid.proxy.svc.cluster.local:3128
|
||||||
- name: HTTPS_PROXY
|
# - name: HTTPS_PROXY
|
||||||
value: http://proxy-squid.proxy.svc.cluster.local:3128
|
# value: http://proxy-squid.proxy.svc.cluster.local:3128
|
||||||
- name: http_proxy
|
# - name: http_proxy
|
||||||
value: http://proxy-squid.proxy.svc.cluster.local:3128
|
# value: http://proxy-squid.proxy.svc.cluster.local:3128
|
||||||
- name: https_proxy
|
# - name: https_proxy
|
||||||
value: http://proxy-squid.proxy.svc.cluster.local:3128
|
# value: http://proxy-squid.proxy.svc.cluster.local:3128
|
||||||
- name: NO_PROXY
|
# - name: NO_PROXY
|
||||||
value: argocd-server.argocd.svc.cluster.local, 10.43.0.0/16
|
# value: argocd-server.argocd.svc.cluster.local,10.43.0.0/16
|
||||||
- name: no_proxy
|
# - name: no_proxy
|
||||||
value: argocd-server.argocd.svc.cluster.local, 10.43.0.0/16
|
# value: argocd-server.argocd.svc.cluster.local,10.43.0.0/16
|
||||||
# - name: GITEA_APP_INI
|
|
||||||
# value: conf/app.ini
|
|
||||||
|
|
||||||
securityContext:
|
securityContext:
|
||||||
allowPrivilegeEscalation: false
|
allowPrivilegeEscalation: false
|
||||||
|
@ -130,6 +128,10 @@ gitea:
|
||||||
ENABLE_SWAGGER: false
|
ENABLE_SWAGGER: false
|
||||||
oauth:
|
oauth:
|
||||||
ENABLE: false
|
ENABLE: false
|
||||||
|
proxy:
|
||||||
|
PROXY_ENABLED: true
|
||||||
|
PROXY_URL: "http://proxy-squid.proxy.svc.cluster.local:3128"
|
||||||
|
PROXY_HOSTS: "github.com"
|
||||||
|
|
||||||
additionalConfigFromEnvs:
|
additionalConfigFromEnvs:
|
||||||
- name: ENV_TO_INI__DATABASE__PASSWD
|
- name: ENV_TO_INI__DATABASE__PASSWD
|
||||||
|
|
|
@ -152,3 +152,18 @@ networkPolicy:
|
||||||
- namespaceSelector:
|
- namespaceSelector:
|
||||||
matchLabels:
|
matchLabels:
|
||||||
environment: external
|
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