Status and specs from example are not applied in the CR
Closed this issue · 1 comments
camilamacedo86 commented
Applied kubectl apply -f config/samples/helm_v1_nginx.yaml
apiVersion: helm.sdk.operatorframework.io/v1
kind: Nginx
metadata:
name: nginx-sample
spec:
replicaCount: 1
image:
nginx:
repository: nginx
tag: "7.0"
service:
name: http
type: LoadBalancer
externalPort: 80
internalPort: 8080
hostPort: 8009
Result:
$ kubectl describe Nginx
Name: nginx-sample
Namespace: default
Labels: <none>
Annotations: API Version: helm.sdk.operatorframework.io/v1
Kind: Nginx
Metadata:
Creation Timestamp: 2020-06-23T11:40:38Z
Finalizers:
uninstall-helm-release
Generation: 1
Managed Fields:
API Version: helm.sdk.operatorframework.io/v1
Fields Type: FieldsV1
fieldsV1:
f:metadata:
f:annotations:
.:
f:kubectl.kubernetes.io/last-applied-configuration:
f:spec:
Manager: kubectl
Operation: Update
Time: 2020-06-23T11:40:38Z
API Version: helm.sdk.operatorframework.io/v1
Fields Type: FieldsV1
fieldsV1:
f:metadata:
f:finalizers:
.:
v:"uninstall-helm-release":
f:status:
Manager: manager
Operation: Update
Time: 2020-06-23T11:40:40Z
Resource Version: 25081
Self Link: /apis/helm.sdk.operatorframework.io/v1/namespaces/default/nginxes/nginx-sample
UID: b4f69049-a434-481d-94fc-1308159f7c90
Spec:
Status:
Events:
Type Reason Age From Message
---- ------ ---- ---- -------
Warning ValueOverridden 99s nginx-controller Chart value "image.repository" overridden to "nginx" by operator
camilamacedo86 commented
Solved in joelanford@82670d1