mirror of
https://github.com/hanzoai/deploy.git
synced 2026-10-07 08:44:50 +00:00
Two corrections on top of the naming pass, both found by checking the live cluster rather than the source. The rename had silently changed the user-facing annotation key from argocd.argoproj.io/sync-wave to cd.argoproj.io/sync-wave — 63 live Applications carry the old key, so deploying that would have ignored every sync-wave and broken fleet deploy ordering. The key is now cd.hanzo.ai/*, and universe 575650286 moves the ApplicationSet template that stamps it, so the controller regenerates all 63 consistently. The API group in code said argoproj.io/v1alpha1 in 157 places while the cluster has served apps.hanzo.ai/v1alpha1 since 2026-07-23 (the CRDs are applications.apps.hanzo.ai). Code now matches what is actually served. The legacy applications.argoproj.io/app-name label had ZERO live users, so it went with the rest. foo.argoproj.io test fixtures became foo.example.com — arbitrary test domains should not carry a vendor name. go build ./... exit 0. Co-authored-by: Hanzo Dev <[email protected]>
78 lines
2.2 KiB
YAML
78 lines
2.2 KiB
YAML
apiVersion: k8s.keycloak.org/v2alpha1
|
|
kind: Keycloak
|
|
metadata:
|
|
annotations:
|
|
cd.hanzo.ai/sync-wave: '2'
|
|
cd.hanzo.ai/tracking-id: foobar-keycloak:k8s.keycloak.org/Keycloak:foo/keycloak
|
|
creationTimestamp: '2024-10-07T09:06:33Z'
|
|
generation: 4
|
|
name: keycloak
|
|
namespace: foo
|
|
resourceVersion: '343382'
|
|
uid: 4e08e59c-1b6b-4b13-8a1a-bbce3f91bd68
|
|
spec:
|
|
additionalOptions:
|
|
- name: proxy-headers
|
|
value: xforwarded
|
|
db:
|
|
host: keycloak-db
|
|
passwordSecret:
|
|
key: password
|
|
name: keycloak.keycloak-db.credentials.postgresql.acid.zalan.do
|
|
usernameSecret:
|
|
key: username
|
|
name: keycloak.keycloak-db.credentials.postgresql.acid.zalan.do
|
|
vendor: postgres
|
|
hostname:
|
|
admin: https://keycloak.apps-crc.testing
|
|
hostname: keycloak.apps-crc.testing
|
|
http:
|
|
httpEnabled: false
|
|
tlsSecret: keycloak-tls
|
|
ingress:
|
|
enabled: false
|
|
instances: 2
|
|
unsupported:
|
|
podTemplate:
|
|
spec:
|
|
containers:
|
|
- env:
|
|
- name: KC_HTTPS_TRUST_STORE_FILE
|
|
value: /truststore/openshiftca.jks
|
|
- name: KC_HTTPS_TRUST_STORE_PASSWORD
|
|
value: OpenshiftCA
|
|
- name: KC_HTTPS_TRUST_STORE_TYPE
|
|
value: JKS
|
|
- name: KC_LOG_LEVEL
|
|
value: INFO
|
|
volumeMounts:
|
|
- mountPath: /truststore
|
|
name: truststore-volume
|
|
volumes:
|
|
- name: truststore-volume
|
|
secret:
|
|
secretName: keycloak-truststore
|
|
status:
|
|
conditions:
|
|
- lastTransitionTime: '2024-10-09T09:55:28.695748046Z'
|
|
message: ''
|
|
observedGeneration: 4
|
|
status: 'True'
|
|
type: Ready
|
|
- lastTransitionTime: '2024-10-08T11:11:08.814752530Z'
|
|
message: >-
|
|
warning: You need to specify these fields as the first-class citizen of
|
|
the CR: proxy-headers
|
|
observedGeneration: 4
|
|
status: 'False'
|
|
type: HasErrors
|
|
- lastTransitionTime: '2024-10-09T09:47:33.600863636Z'
|
|
message: ''
|
|
observedGeneration: 4
|
|
status: 'False'
|
|
type: RollingUpdate
|
|
instances: 2
|
|
observedGeneration: 4
|
|
selector: >-
|
|
app=keycloak,app.kubernetes.io/managed-by=keycloak-operator,app.kubernetes.io/instance=keycloak
|