Skip to content

Commit

Permalink
Merge pull request #485 from turkenh/bump-xp-to-latest
Browse files Browse the repository at this point in the history
Bump upbound/crossplane to the latest main
  • Loading branch information
turkenh authored Oct 21, 2024
2 parents 6a3e431 + 0beb51e commit b90fb80
Show file tree
Hide file tree
Showing 13 changed files with 360 additions and 3,019 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@ EKS_ADDON_REGISTRY := 709825985650.dkr.ecr.us-east-1.amazonaws.com
CROSSPLANE_REPO := https://github.com/upbound/crossplane.git
# Tag corresponds to Docker image tag while commit is git-compatible signature
# for pulling. They do not always match.
CROSSPLANE_TAG := v1.18.0-up.1.rc.0.20.g64705d99
CROSSPLANE_COMMIT := 64705d9 # https://github.com/upbound/crossplane/commit/64705d9945221431048d656c379b9ed9b9bdc03d
CROSSPLANE_TAG := v1.18.0-up.1.rc.0.66.ge4ac38c8
CROSSPLANE_COMMIT := e4ac38c # https://github.com/upbound/crossplane/commit/e4ac38c87984e1f8861d97fb7a946bc46e8fd88c

export CROSSPLANE_TAG

Expand Down
4 changes: 3 additions & 1 deletion cluster/charts/universal-crossplane/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ planes.
| hostNetwork | bool | `false` | Enable `hostNetwork` for the Crossplane deployment. Caution: enabling `hostNetwork` grants the Crossplane Pod access to the host network namespace. Consider setting `dnsPolicy` to `ClusterFirstWithHostNet`. |
| image.pullPolicy | string | `"IfNotPresent"` | The image pull policy used for Crossplane and RBAC Manager pods. |
| image.repository | string | `"xpkg.upbound.io/upbound/crossplane"` | Repository for the Crossplane pod image. |
| image.tag | string | `"v1.18.0-up.1.rc.0.20.g64705d99"` | The Crossplane image tag. Defaults to the value of `appVersion` in `Chart.yaml`. |
| image.tag | string | `"v1.18.0-up.1.rc.0.66.ge4ac38c8"` | The Crossplane image tag. Defaults to the value of `appVersion` in `Chart.yaml`. |
| imagePullSecrets | list | `[]` | The imagePullSecret names to add to the Crossplane ServiceAccount. |
| leaderElection | bool | `true` | Enable [leader election](https://docs.crossplane.io/latest/concepts/pods/#leader-election) for the Crossplane pod. |
| metrics.enabled | bool | `false` | Enable Prometheus path, port and scrape annotations and expose port 8080 for both the Crossplane and RBAC Manager pods. |
Expand All @@ -66,6 +66,7 @@ planes.
| rbacManager.leaderElection | bool | `true` | Enable [leader election](https://docs.crossplane.io/latest/concepts/pods/#leader-election) for the RBAC Manager pod. |
| rbacManager.nodeSelector | object | `{}` | Add `nodeSelectors` to the RBAC Manager pod deployment. |
| rbacManager.replicas | int | `1` | The number of RBAC Manager pod `replicas` to deploy. |
| rbacManager.revisionHistoryLimit | string | `nil` | The number of RBAC Manager ReplicaSets to retain. |
| rbacManager.skipAggregatedClusterRoles | bool | `false` | Don't install aggregated Crossplane ClusterRoles. |
| rbacManager.tolerations | list | `[]` | Add `tolerations` to the RBAC Manager pod deployment. |
| rbacManager.topologySpreadConstraints | list | `[]` | Add `topologySpreadConstraints` to the RBAC Manager pod deployment. |
Expand All @@ -80,6 +81,7 @@ planes.
| resourcesRBACManager.limits.memory | string | `"512Mi"` | Memory resource limits for the RBAC Manager pod. |
| resourcesRBACManager.requests.cpu | string | `"100m"` | CPU resource requests for the RBAC Manager pod. |
| resourcesRBACManager.requests.memory | string | `"256Mi"` | Memory resource requests for the RBAC Manager pod. |
| revisionHistoryLimit | string | `nil` | The number of Crossplane ReplicaSets to retain. |
| securityContextCrossplane.allowPrivilegeEscalation | bool | `false` | Enable `allowPrivilegeEscalation` for the Crossplane pod. |
| securityContextCrossplane.readOnlyRootFilesystem | bool | `true` | Set the Crossplane pod root file system as read-only. |
| securityContextCrossplane.runAsGroup | int | `65532` | The group ID used by the Crossplane pod. |
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,9 @@ spec:
release: {{ .Release.Name }}
strategy:
type: {{ .Values.deploymentStrategy }}
{{- if .Values.revisionHistoryLimit }}
revisionHistoryLimit: {{ .Values.revisionHistoryLimit }}
{{- end }}
template:
metadata:
{{- if or .Values.metrics.enabled .Values.customAnnotations }}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,9 @@ spec:
release: {{ .Release.Name }}
strategy:
type: {{ .Values.deploymentStrategy }}
{{- if .Values.rbacManager.revisionHistoryLimit }}
revisionHistoryLimit: {{ .Values.rbacManager.revisionHistoryLimit }}
{{- end }}
template:
metadata:
{{- if or .Values.metrics.enabled .Values.customAnnotations }}
Expand Down
7 changes: 6 additions & 1 deletion cluster/charts/universal-crossplane/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,17 @@
# -- The number of Crossplane pod `replicas` to deploy.
replicas: 1

# -- The number of Crossplane ReplicaSets to retain.
revisionHistoryLimit: null

# -- The deployment strategy for the Crossplane and RBAC Manager pods.
deploymentStrategy: RollingUpdate

image:
# -- Repository for the Crossplane pod image.
repository: xpkg.upbound.io/upbound/crossplane
# -- The Crossplane image tag. Defaults to the value of `appVersion` in `Chart.yaml`.
tag: "v1.18.0-up.1.rc.0.20.g64705d99"
tag: "v1.18.0-up.1.rc.0.66.ge4ac38c8"
# -- The image pull policy used for Crossplane and RBAC Manager pods.
pullPolicy: IfNotPresent

Expand Down Expand Up @@ -81,6 +84,8 @@ rbacManager:
skipAggregatedClusterRoles: false
# -- The number of RBAC Manager pod `replicas` to deploy.
replicas: 1
# -- The number of RBAC Manager ReplicaSets to retain.
revisionHistoryLimit: null
# -- Enable [leader election](https://docs.crossplane.io/latest/concepts/pods/#leader-election) for the RBAC Manager pod.
leaderElection: true
# -- Add custom arguments to the RBAC Manager pod.
Expand Down
Loading

0 comments on commit b90fb80

Please sign in to comment.