Skip to content

Add RestateCluster compute spec imagePullSecrets property#39

Merged
jackkleeman merged 2 commits into
mainfrom
image-pull-secrets
Aug 27, 2025
Merged

Add RestateCluster compute spec imagePullSecrets property#39
jackkleeman merged 2 commits into
mainfrom
image-pull-secrets

Conversation

@pcholakov

@pcholakov pcholakov commented Jul 29, 2025

Copy link
Copy Markdown
Contributor

Am I holding this right?

~/restate/operator % kg rsc/restate-test -o yaml
apiVersion: restate.dev/v1
kind: RestateCluster
metadata:
  annotations:
    kubectl.kubernetes.io/last-applied-configuration: |
      {"apiVersion":"restate.dev/v1","kind":"RestateCluster","metadata":{"annotations":{},"name":"restate-test"},"spec":{"compute":{"image":"ghcr.io/restatedev/restate@sha256:ebdcb2d4e031d316f5adbeccce3c0fecad510813d06c39d4612a63b66d98fde9","imagePullSecrets":[{"name":"ghcr-secret"}]},"storage":{"storageRequestBytes":2147483648}}}
  creationTimestamp: "2025-07-29T13:31:29Z"
  finalizers:
  - clusters.restate.dev
  generation: 10
  name: restate-test
  resourceVersion: "83819"
  uid: de515dbf-d9b6-4375-8707-8ef5dd80b4e7
spec:
  compute:
    image: ghcr.io/restatedev/restate@sha256:ebdcb2d4e031d316f5adbeccce3c0fecad510813d06c39d4612a63b66d98fde9
    imagePullSecrets:
    - name: ghcr-secret
  storage:
    storageRequestBytes: 2147483648
status:
  conditions:
  - lastTransitionTime: "2025-07-29T13:54:51Z"
    message: Restate Cluster provisioned successfully
    reason: Provisioned
    status: "True"
    type: Ready

~/restate/operator % kg po restate-0 -o yaml | grep imagePullSecrets -C 3
metadata:
  annotations:
    kubectl.kubernetes.io/last-applied-configuration: |
      {"apiVersion":"restate.dev/v1","kind":"RestateCluster","metadata":{"annotations":{},"name":"restate-test"},"spec":{"compute":{"image":"ghcr.io/restatedev/restate@sha256:ebdcb2d4e031d316f5adbeccce3c0fecad510813d06c39d4612a63b66d98fde9","imagePullSecrets":[{"name":"ghcr-secret"}]},"storage":{"storageRequestBytes":2147483648}}}
  creationTimestamp: "2025-07-29T13:54:50Z"
  generateName: restate-
  labels:
--
  dnsPolicy: ClusterFirst
  enableServiceLinks: true
  hostname: restate-0
  imagePullSecrets:
  - name: ghcr-secret
  nodeName: orbstack
  preemptionPolicy: PreemptLowerPriority

@pcholakov
pcholakov requested a review from jackkleeman July 29, 2025 13:59
@pcholakov
pcholakov force-pushed the image-pull-secrets branch from aa35efd to 3df4f44 Compare July 29, 2025 14:00
@jackkleeman
jackkleeman merged commit 8acb7ed into main Aug 27, 2025
1 check passed
@jackkleeman
jackkleeman deleted the image-pull-secrets branch August 27, 2025 14:39
@github-actions github-actions Bot locked and limited conversation to collaborators Aug 27, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants