Skip to content

Test release 0.1.27 #202

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

Merged
merged 74 commits into from
Mar 27, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
74 commits
Select commit Hold shift + click to select a range
21e19a5
[BE]:Up version (#126)
PhilippPlotnikov Nov 18, 2022
aab1ea6
add applications to app-proxy rbac (#124)
danielm-codefresh Nov 18, 2022
bbb568c
CR-15471-insecure-git-providers (#130)
ATGardner Nov 20, 2022
22f5ef5
move hosted to 2.4 (#129)
pasha-codefresh Nov 20, 2022
9913fae
bumped app-proxy to 1.1982.0 (#132)
ATGardner Nov 20, 2022
409ffcc
Merge remote-tracking branch 'origin/release-0.1'
danielm-codefresh Nov 24, 2022
aeeeb3a
fix appset (#133)
pasha-codefresh Nov 24, 2022
27d6d60
bump app-proxy to 1.1991.1 (#138)
ATGardner Nov 29, 2022
e1341d1
CR-14423 (#136)
oleksandr-codefresh Nov 29, 2022
b63acd3
Revert hosted move to argocd 2.4 (#139)
danielm-codefresh Nov 30, 2022
30f438e
update app-proxy (#141)
andrii-codefresh Dec 2, 2022
b82f6ea
fix appProtocol for argocd-server to support Istio (#140)
danielm-codefresh Dec 4, 2022
31cc736
Cr 24 hosted (#142)
pasha-codefresh Dec 4, 2022
d5dfc7a
Merge remote-tracking branch 'origin/release-0.1'
danielm-codefresh Dec 6, 2022
ce2330b
upgrade argo-workflows to 3.4 (#144)
denis-codefresh Dec 13, 2022
cf57c76
Cr 15967 bb enr rc (#147)
denis-codefresh Dec 18, 2022
57eee66
CR-15900-argo-cd-version-update (#149)
oleksandr-codefresh Dec 19, 2022
2ddb9ac
Merge remote-tracking branch 'origin/release-0.1'
danielm-codefresh Dec 21, 2022
7f5929b
Revert "upgrade argo-workflows to 3.4 (#144)"
danielm-codefresh Dec 21, 2022
339f028
upgrade argo-rollouts to 1.4.0 (#152)
danielm-codefresh Jan 2, 2023
6d8e32b
bump app-proxy (#155)
danielm-codefresh Jan 3, 2023
01e1502
Merge remote-tracking branch 'origin/release-0.1'
danielm-codefresh Jan 5, 2023
d23d40d
Argo workflow 3.4 upgrade (#157)
denis-codefresh Jan 10, 2023
88126ed
automatically merge release branch to main to avoid version drift (#158)
danielm-codefresh Jan 10, 2023
257ad10
Merge remote-tracking branch 'origin/release-0.1'
danielm-codefresh Jan 11, 2023
837d3ec
bump app-proxy (#160)
kim-codefresh Jan 15, 2023
0c63e7e
bump app-proxy to 1.2056.0 (#162)
ATGardner Jan 15, 2023
e6d4a88
Add permissions for app-proxy to read, list and patch deployments (#163)
danielm-codefresh Jan 16, 2023
a6b2dc1
Cr visa sw (#164)
pasha-codefresh Jan 16, 2023
5bb8e16
Add all release managers as code owners (#166)
danielm-codefresh Jan 18, 2023
deae19b
Update release.yaml
danielm-codefresh Jan 18, 2023
b60daa3
danielm-codefresh Jan 18, 2023
f19cd81
Argocd 25 (#168)
pasha-codefresh Jan 25, 2023
e939ebb
Bump app-proxy to 1.2081.0 (#169)
ATGardner Jan 26, 2023
e2c3b47
danielm-codefresh Jan 30, 2023
6758dda
bump-app-proxy (#170)
kim-codefresh Jan 30, 2023
aa532fa
danielm-codefresh Feb 2, 2023
7cc2701
bumping argocd CR-16950-reporting-deadline (#174)
roi-codefresh Feb 2, 2023
5f55189
add additional env SKIP_TLS_VALIDATION (#175)
pysarenko-bohdan Feb 7, 2023
c0dd06e
Cr 17082 (#177)
pasha-codefresh Feb 8, 2023
fc753b5
add SKIP_PERMISSIONS_VALIDATION to app-proxy deploy and bump (#176)
kim-codefresh Feb 8, 2023
cf5fbb2
CR-16741-config-fix (#179)
pysarenko-bohdan Feb 10, 2023
3e239a8
update argo workflows to fix empty page issue (#182)
kim-codefresh Feb 14, 2023
c97ac66
danielm-codefresh Feb 14, 2023
841403a
fixed role resource name (#183)
ATGardner Feb 15, 2023
9f56feb
Cr argocd 26 (#184)
pasha-codefresh Feb 20, 2023
92560c3
new argo version (#187)
pasha-codefresh Feb 21, 2023
2024362
danielm-codefresh Feb 23, 2023
2df674e
Revert "update argo workflows to fix empty page issue (#182)"
danielm-codefresh Feb 23, 2023
0b7f383
argo workflows exit handler fix (#188)
denis-codefresh Feb 24, 2023
0a75a99
Cr argocd26 appset (#190)
pasha-codefresh Mar 1, 2023
385e24c
Bump app-proxy to 1.2133.0 (#192)
vadim-kharin-codefresh Mar 2, 2023
9da13a2
danielm-codefresh Mar 2, 2023
05590ef
bump app-proxy to `1.2140.0` (#193)
ATGardner Mar 2, 2023
1a741de
CR-17122 (#191)
eti-codefresh Mar 6, 2023
63540e2
updated role (#194)
ATGardner Mar 7, 2023
a0b1ff4
added a list of missing env vars, injected from cm (#197)
ATGardner Mar 9, 2023
94b4f8e
Add-cluster-insecure (#198)
ATGardner Mar 13, 2023
30d8bc2
danielm-codefresh Mar 13, 2023
fc0bac4
bump app-proxy to a version that includes the option to decouple runt…
danielm-codefresh Mar 14, 2023
892c253
bump app-proxy and argo-cd (#201)
danielm-codefresh Mar 21, 2023
71c37c5
bump prerelease
danielm-codefresh Mar 21, 2023
5599bfb
update argo-cd for hybrid
danielm-codefresh Mar 21, 2023
a29d400
fix
danielm-codefresh Mar 21, 2023
12911ca
update app-proxy
danielm-codefresh Mar 21, 2023
b088b31
fix app-proxy
danielm-codefresh Mar 21, 2023
ea311cb
bump prerelease
danielm-codefresh Mar 21, 2023
c15c6b3
bump prerelease
danielm-codefresh Mar 21, 2023
0a12159
add label selector to app-proxy service
danielm-codefresh Mar 23, 2023
8a4fdf8
bump prerelease
danielm-codefresh Mar 23, 2023
cf497dc
bump app-proxy
danielm-codefresh Mar 24, 2023
e6fdb72
bump prerelease
danielm-codefresh Mar 24, 2023
0641329
bump app-proxy
danielm-codefresh Mar 24, 2023
2260388
remove pre-release postfix
danielm-codefresh Mar 27, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.1.26
0.1.27
5 changes: 3 additions & 2 deletions add-cluster/add-cluster.sh
Original file line number Diff line number Diff line change
Expand Up @@ -50,11 +50,12 @@ BEARER_TOKEN=$(kubectl get secret ${SECRET_NAME} -n ${NAMESPACE} -o jsonpath='{.
CLUSTER_NAME=$(echo ${SERVER} | sed s/'http[s]\?:\/\/'//)
if [[ $SKIP_TLS_VALIDATION == 'true' ]]
then
kubectl config set-cluster "${CLUSTER_NAME}" --server="${SERVER}" || exit 1
kubectl config set-cluster "${CLUSTER_NAME}" --server="${SERVER}" --insecure-skip-tls-verify=true || exit 1
else
# Reference the internal certificate authority (CA)
kubectl config set-cluster "${CLUSTER_NAME}" --server="${SERVER}" --certificate-authority="${SERVICEACCOUNT}/ca.crt" || exit 1
fi

kubectl config set-credentials "${SERVICE_ACCOUNT_NAME}" --token "${BEARER_TOKEN}" || exit 1
kubectl config set-context "${CONTEXT_NAME}" --cluster="${CLUSTER_NAME}" --user="${SERVICE_ACCOUNT_NAME}" || exit 1

Expand Down Expand Up @@ -84,4 +85,4 @@ if [[ $STATUS_CODE -ge 300 ]]; then
fi

echo "deleting token secret ${CSDP_TOKEN_SECRET}"
kubectl delete secret ${CSDP_TOKEN_SECRET} -n ${NAMESPACE} || echo "warning: failed deleting secret ${CSDP_TOKEN_SECRET}. you can safely delete this secret manually later with: kubectl delete secret ${CSDP_TOKEN_SECRET} -n ${NAMESPACE}"
kubectl delete secret ${CSDP_TOKEN_SECRET} -n ${NAMESPACE} || echo "warning: failed deleting secret ${CSDP_TOKEN_SECRET}. you can safely delete this secret manually later with: kubectl delete secret ${CSDP_TOKEN_SECRET} -n ${NAMESPACE}"
2 changes: 1 addition & 1 deletion add-cluster/helm/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@ type: application

version: 0.2.0

appVersion: 0.6.0
appVersion: 0.7.0
2 changes: 1 addition & 1 deletion add-cluster/kustomize/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ namespace: kube-system

images:
- name: quay.io/codefresh/csdp-add-cluster
newTag: 0.6.0
newTag: 0.7.0

resources:
- configmap.yaml
Expand Down
3 changes: 2 additions & 1 deletion csdp/base_components/README.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@

All resources are defined using Kustomize components in this folder in the following structure:

base_components:
Expand All @@ -10,4 +11,4 @@ base_components:
this allows us to create configuration bundles - for example HA and non HA configurations.
Try to keep resources and patches out of the bundle kustomization, it should contain only the composition
of components.
bootstrap: This is the bootstrap component
bootstrap: This is the bootstrap component
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
apiVersion: v1
kind: ConfigMap
metadata:
labels:
app.kubernetes.io/part-of: cap-app-proxy
name: cap-app-proxy-cm
data:
argoCdUsername: admin
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRoleBinding
metadata:
labels:
app: cap-app-proxy
name: cap-app-proxy-binding
roleRef:
apiGroup: rbac.authorization.k8s.io
Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
apiVersion: apps/v1
kind: Deployment
metadata:
labels:
app: cap-app-proxy
name: cap-app-proxy
spec:
replicas: 1
selector:
matchLabels:
app: cap-app-proxy
Expand All @@ -23,7 +22,7 @@ spec:
- -c
- |
/bin/sh <<'EOF'
if [ $(ls /app/config/tls) ]; then
if [ "$(ls /app/config/tls)" ]; then
echo "concatenating certs into /app/config/all/all.cer"
cat /app/config/tls/* >> /app/config/all/all.cer
else
Expand All @@ -45,6 +44,12 @@ spec:
cpu: '0.2'
containers:
- env:
- name: ARGO_CD_INSECURE
valueFrom:
configMapKeyRef:
name: cap-app-proxy-cm
key: argoCdInsecure
optional: true
- name: ARGO_CD_URL
valueFrom:
configMapKeyRef:
Expand Down Expand Up @@ -92,6 +97,54 @@ spec:
name: cap-app-proxy-cm
key: env
optional: true
- name: ISC_ENSURED_EVENT_EMIT_DELAY
valueFrom:
configMapKeyRef:
name: cap-app-proxy-cm
key: iscEnsuredEventEmitDelay
optional: true
- name: IRW_CONCURRENCY_CM_KEY
valueFrom:
configMapKeyRef:
name: cap-app-proxy-cm
key: irwConcurrencyCmKey
optional: true
- name: IRW_CONCURRENCY_CM_NAME
valueFrom:
configMapKeyRef:
name: cap-app-proxy-cm
key: irwConcurrentyCmName
optional: true
- name: IRW_HEARTBEAT_INTERVAL_IN_SECONDS
valueFrom:
configMapKeyRef:
name: cap-app-proxy-cm
key: irwHeartbeatIntervalInSeconds
optional: true
- name: IRW_POD_GC_STRATEGY
valueFrom:
configMapKeyRef:
name: cap-app-proxy-cm
key: irwPodGcStrategy
optional: true
- name: IRW_SERVICE_ACCOUNT
valueFrom:
configMapKeyRef:
name: cap-app-proxy-cm
key: irwServiceAccount
optional: true
- name: IRW_TTL_ACTIVE_IN_SECONDS
valueFrom:
configMapKeyRef:
name: cap-app-proxy-cm
key: irwTtlActiveInSeconds
optional: true
- name: IRW_TTL_AFTER_COMPLETION_IN_SECONDS
valueFrom:
configMapKeyRef:
name: cap-app-proxy-cm
key: irwTtlAfterCompletionInSeconds
optional: true
- name: GRAPHQL_DEBUG
valueFrom:
configMapKeyRef:
Expand All @@ -104,6 +157,12 @@ spec:
name: cap-app-proxy-cm
key: graphqlPlayground
optional: true
- name: LOG_LEVEL
valueFrom:
configMapKeyRef:
name: cap-app-proxy-cm
key: logLevel
optional: true
- name: NAMESPACE
valueFrom:
fieldRef:
Expand All @@ -114,6 +173,18 @@ spec:
name: cap-app-proxy-cm
key: port
optional: true
- name: GIT_INTEGRATION_APIURL
valueFrom:
configMapKeyRef:
name: cap-app-proxy-cm
key: gitIntegrationApiUrl
optional: true
- name: GIT_INTEGRATION_PROVIDER
valueFrom:
configMapKeyRef:
name: cap-app-proxy-cm
key: gitIntegrationProvider
optional: true
- name: GIT_USERNAME
valueFrom:
secretKeyRef:
Expand All @@ -126,6 +197,20 @@ spec:
name: autopilot-secret
key: git_token
optional: true
- name: NODE_EXTRA_CA_CERTS
value: /app/config/all/all.cer
- name: REPO_CREDS_SECRET_NAME
valueFrom:
configMapKeyRef:
name: cap-app-proxy-cm
key: repoCredsSecretName
optional: true
- name: REPO_LOCK_TIMEOUT
valueFrom:
configMapKeyRef:
name: cap-app-proxy-cm
key: repoLockTimeout
optional: true
- name: REPOS_DIR
valueFrom:
configMapKeyRef:
Expand All @@ -149,6 +234,18 @@ spec:
name: codefresh-token
key: encryptionIV
optional: true
- name: SEND_HEARTBEAT_INTERVAL
valueFrom:
configMapKeyRef:
name: cap-app-proxy-cm
key: sendHeartbeatInterval
optional: true
- name: SKIP_PERMISSIONS_VALIDATION
valueFrom:
configMapKeyRef:
name: cap-app-proxy-cm
key: skipPermissionsValidation
optional: true
- name: STORE_BACKEND
valueFrom:
configMapKeyRef:
Expand All @@ -161,14 +258,18 @@ spec:
name: cap-app-proxy-cm
key: stripPrefix
optional: true
- name: SKIP_PERMISSIONS_VALIDATION
- name: USER_CACHE_TTL
valueFrom:
configMapKeyRef:
name: cap-app-proxy-cm
key: skipPermissionsValidation
key: userCacheTtl
optional: true
- name: USER_TOKEN
valueFrom:
secretKeyRef:
name: codefresh-user-token
key: token
optional: true
- name: NODE_EXTRA_CA_CERTS
value: /app/config/all/all.cer
image: quay.io/codefresh/cap-app-proxy
imagePullPolicy: Always
name: cap-app-proxy
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ kind: Component
images:
- name: quay.io/codefresh/cap-app-proxy
newName: quay.io/codefresh/cap-app-proxy
newTag: 1.2143.0
newTag: 1.2167.0
resources:
- app-proxy.deploy.yaml
- app-proxy.svc.yaml
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,53 +2,53 @@ apiVersion: kustomize.config.k8s.io/v1alpha1
kind: Component

resources:
- pdb.yaml
- pdb.yaml

patches:
# increase replicas
- target:
group: apps
version: v1
kind: Deployment
name: cap-app-proxy
patch: |-
- op: add
path: /spec/replicas
value: 2
# Add leader election sidecar
- target:
group: apps
version: v1
kind: Deployment
name: cap-app-proxy
path: leader-election.deployment.patch.yaml
# Add leader election role
- target:
kind: Role
name: cap-app-proxy
patch: |-
- op: add
path: /rules/-
value:
apiGroups:
- coordination.k8s.io
resources:
- leases
verbs:
- get
- list
- watch
- create
- update
- patch
- delete
- op: add
path: /rules/-
value:
apiGroups:
- ""
resources:
- events
verbs:
- create
- patch
# increase replicas
- target:
group: apps
version: v1
kind: Deployment
name: cap-app-proxy
patch: |-
- op: replace
path: /spec/replicas
value: 2
# Add leader election sidecar
- target:
group: apps
version: v1
kind: Deployment
name: cap-app-proxy
path: leader-election.deployment.patch.yaml
# Add leader election role
- target:
kind: Role
name: cap-app-proxy
patch: |-
- op: add
path: /rules/-
value:
apiGroups:
- coordination.k8s.io
resources:
- leases
verbs:
- get
- list
- watch
- create
- update
- patch
- delete
- op: add
path: /rules/-
value:
apiGroups:
- ""
resources:
- events
verbs:
- create
- patch
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@ spec:
minAvailable: 1
selector:
matchLabels:
app: cap-app-proxy
app.kubernetes.io/part-of: cap-app-proxy
4 changes: 2 additions & 2 deletions csdp/base_components/bootstrap/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ configMapGenerator:
- name: codefresh-cm
behavior: create
literals: # order matters - DO NOT change
- version=0.1.26 # Runtime version
- bootstrapRevision=0.1.26 # Tag to use for bootstrap (change this to the name of your branch if you want to test changes)
- version=0.1.27 # Runtime version
- bootstrapRevision=0.1.27 # Tag to use for bootstrap (change this to the name of your branch if you want to test changes)
- appsetRequeueTime=15
replacements:
# template the version from the configmap into the applicationset generators
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ apiVersion: kustomize.config.k8s.io/v1alpha1
kind: Component
images:
- name: quay.io/codefresh/argocd
newTag: v2.6.0-cap-CR-appset-update
newTag: v2.6.0-cap-CR-17237
2 changes: 1 addition & 1 deletion csdp/hybrid/basic/runtime.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ metadata:
namespace: "{{ namespace }}"
spec:
requiredCLIVersion: ^0.1.0
version: 0.1.26
version: 0.1.27
bootstrapSpecifier: github.com/codefresh-io/csdp-official/csdp/hybrid/basic/apps/argo-cd
components:
- name: events
Expand Down